Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
benhowell committed Jul 23, 2017
1 parent 7e7b847 commit 8c9720c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ customOverlay | element | undefined | Optional. A custom ele
Property | Type | Default | Description
:-----------------------|:--------------|:--------------|:--------------------------------
images | array | undefined | Required. An array of objects containing image properties (see Image Options above).
id | string | "ReactGridGallery" | Optional. `id` attribute for `<Gallery>` tag.
id | string | "ReactGridGallery" | Optional. `id` attribute for `<Gallery>` tag. This prop may be useful for those who wish to discriminate between multiple galleries.
enableImageSelection | bool | true | Optional. Allow images to be selectable. Setting this option to `false` whilst supplying images with `isSelected: true` will result in those images being permanently selected.
onSelectImage | func | undefined | Optional. Function to execute when an image is selected. Allows access to image object using `this` (See [Programmers notes](#programmers-notes) for more info about implicit `this`). Optional args: index (index of selected image in images array), image (the selected image). This function is only executable when `enableImageSelection: true`.
rowHeight | number | 180 | Optional. The height of each row in the gallery.
Expand Down

0 comments on commit 8c9720c

Please sign in to comment.