Skip to content

Commit c7da363

Browse files
committed
Updates prop documentation for scrollableTarget
1 parent 0d7438e commit c7da363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ name | type | description
7373
**endMessage** | node | this message is shown to the user when he has seen all the records which means he's at the bottom and `hasMore` is `false`
7474
**style** | object | any style which you want to override
7575
**height** | number | optional, give only if you want to have a fixed height scrolling content
76-
**scrollableTarget** | node | optional, reference to a (parent) DOM element that is already providing overflow scrollbars to the `InfiniteScroll` component.
76+
**scrollableTarget** | node or string | optional, reference to a (parent) DOM element that is already providing overflow scrollbars to the `InfiniteScroll` component. *You should provide the `id` of the DOM node preferably.*
7777
**hasChildren** | bool | `children` is by default assumed to be of type array and it's length is used to determine if loader needs to be shown or not, if your `children` is not an array, specify this prop to tell if your items are 0 or more.
7878
**pullDownToRefresh** | bool | to enable **Pull Down to Refresh** feature
7979
**pullDownToRefreshContent** | node | any JSX that you want to show the user, `default={<h3>Pull down to refresh</h3>}`

0 commit comments

Comments
 (0)