@mtliendo/mtliendo-sample-hook
v1.0.0
Published
a throwaway example
Downloads
1
Readme
mtliendo-sample-hook
a throwaway example
Install
npm install --save mtliendo-sample-hook
Usage
import React, { Component } from 'react'
import { useMyHook } from 'mtliendo-sample-hook'
const Example = () => {
const example = useMyHook()
return (
<div>{example}</div>
)
}
License
MIT © mtliendo
This hook is created using create-react-hook.