Skip to content

Commit 1cc9a1a

Browse files
authored
feat: Accept InnerClass (#127)
* Accept InnerClass * Added innerClass to readme
1 parent e4668b5 commit 1cc9a1a

File tree

3 files changed

+8741
-2
lines changed

3 files changed

+8741
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ import Sticky from 'react-stickynode';
5454
| `innerZ` | Number/String | z-index of the sticky. |
5555
| `enableTransforms` | Boolean | Enable the use of CSS3 transforms (true by default). |
5656
| `activeClass` | String | Class name to be applied to the element when the sticky state is active (`active` by default). |
57+
| `innerClass` | String | Class name to be applied to the inner element (`''` by default). |
5758
| `releasedClass` | String | Class name to be applied to the element when the sticky state is released (`released` by default). |
5859
| `onStateChange` | Function | Callback for when the sticky state changes. See below. |
5960
| `shouldFreeze` | Function | Callback to indicate when the sticky plugin should freeze position and ignore scroll/resize events. See below. |

0 commit comments

Comments
 (0)