@sikt/sds-hooks
v1.0.0
Published
React Hooks, Sikt component library
Downloads
217
Readme
@sikt/sds-hooks
Consume
npm i -s @sikt/sds-hooks
React
import { use<Hook> } from "@sikt/sds-hooks";
use<Hook>();
Hooks
- useClickOutside
- useKeydown
- useWindowResize
Custom hooks
We use usehooks-ts for external hooks.