button-hook

npm install --save button-hook

Usage no npm install needed!

<script type="module">
  import buttonHook from 'https://cdn.skypack.dev/button-hook';
</script>

README

button-hook

NPM JavaScript Style Guide

Install

npm install --save button-hook

Usage

import React, { Component } from 'react'

import { useMyHook } from 'button-hook'

const Example = () => {
  const example = useMyHook()
  return (
    <div>{example}</div>
  )
}

License

MIT ©


This hook is created using create-react-hook.