https://github.com/alexeyraspopov/react-stick
Sticky component for React that will use CSS property if it's available.
https://github.com/alexeyraspopov/react-stick
Last synced: about 1 month ago
JSON representation
Sticky component for React that will use CSS property if it's available.
- Host: GitHub
- URL: https://github.com/alexeyraspopov/react-stick
- Owner: alexeyraspopov
- Created: 2015-09-21T06:48:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-21T09:40:52.000Z (over 9 years ago)
- Last Synced: 2025-03-18T03:12:31.630Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-stick
Sticky component for React that will use CSS property if it's available. See current `position: sticky` support status on [caniuse.com](http://caniuse.com/#search=sticky).
## Install
npm install react-stick --save
## Usage
Hello
Class names and styles applied to `` element will be used for root element. Also you can specify type of root element.
This H1 is inside header element