bendtherules / some-hooks

Collection of some reusable hooks that I use

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

some-hooks

Collection of some reusable hooks that I use

NPM JavaScript Style Guide

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.

About

Collection of some reusable hooks that I use


Languages

Language:TypeScript 79.9%Language:JavaScript 13.5%Language:HTML 5.7%Language:CSS 0.9%