Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Brandon Farrell committed Feb 3, 2019
1 parent 3ce9512 commit cf23f8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,3 +1,4 @@
node_modules
.idea/
.DS_Store
.DS_Store
./src/.DS_Store
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -78,7 +78,7 @@ The number in the first bracket will be the configuration you want to access. E.

- If you want to capture the collage as a single image. Take a look at [react-native-view-shot](https://github.com/gre/react-native-view-shot).
- The number of images has to be equal to the sum of the matrix. e.g. Matrix is [ 1, 2, 1 ] ( 1 + 2 + 1 = 4), there has to be 4 images.
- The component currently only works with URIs; photos on the file system or on a server. It does not work with static images (Although support for static images will be coming soon). To use static images, first save them to the filesystem then pass the URI's to the component.
- The collage scaling will not work when in a react-native [<Modal />](https://facebook.github.io/react-native/docs/modal) component. [Multiple touches are not registered](https://github.com/facebook/react-native/issues/8094).

## Props

Expand All @@ -96,7 +96,6 @@ The number in the first bracket will be the configuration you want to access. E.
| scaleAmplifier | number | Yes | 1.0 | Amplifier applied to scaling. Increase this for faster scaling of images. |
| retainScaleOnSwap | boolean | Yes | true | Keep the scale (width/height) of image when it is swapped. |
| longPressDelay | number | Yes | 500 | Delay before long press is activated. |
| longPressSensitivity| number | Yes | 4.5 | Sensitivity to activate long press while panning? Between 0 (Always) to 10+ (Still) |
| imageStyle | object | Yes | style | Default image style. |
| imageSelectedStyle | object | Yes | style | The style applied to the image when it has been selected. Long Pressed. |
| imageSwapStyle | object | Yes | style | The style applied to the target image which is being swapped. E.g red borders |
Expand Down
Binary file modified src/.DS_Store
Binary file not shown.

0 comments on commit cf23f8d

Please sign in to comment.