mirror of
https://github.com/bendtherules/some-hooks.git
synced 2026-08-18 13:52:05 +00:00
45125b192adbc9993a78c2ef8c18a89c1e5d98f1
Typescript-eslint was failing earlier as somehow 8 is not supported
some-hooks
Collection of some reusable hooks that I use
Install
npm install --save some-hooks
Usage
import * as React from 'react'
import { useMyHook } from 'some-hooks'
const Example = () => {
const example = useMyHook()
return (
<div>
{example}
</div>
)
}
License
MIT © bendtherules
This hook is created using create-react-hook.
Languages
TypeScript
79.9%
JavaScript
13.5%
HTML
5.7%
CSS
0.9%