react-helpers-og
Pack of useful components, hooks, contexts and utils for React
Getting started
Install package via npm:
npm install --save react-helpers-og
Usage
You can import any helper you want as a named export from 'react-helpers-og', eg
import { useRect, merge, ZIndexContext } from 'react-helpers-og';
...or you can directly import only the helpers you need:
import useRect from 'react-helpers-og/src/hooks/useRect';
import merge from 'react-helpers-og/src/utils/merge';
import ZIndexContext from 'react-helpers-og/src/contexts/ZIndexContext';
Documentation
Contexts
Hooks
License
react-helpers-og is available under the MIT License.