UNPKG

react-sticky-node

Version:
20 lines (13 loc) 761 B
### Synopsis StickyNode is a React component which always will be inside a specified container. It can be usefull for a tooltips, etc. ![demo](https://raw.githubusercontent.com/visortelle/react-sticky-node/master/demo.gif) ### Props Reference | Name | Type | Description | | ------------------------------|:----------------------| -----------------------------------------------------------| | className | string | Default behaviour | | style | object | Default behaviour | | restrictorNode | object | Restrictor **DOMNode** or ReactElement **ref** | ### Contributors Kirill Volkovich **Git:** https://github.com/visortelle/react-sticky-node.git