Skip to content

MedinaGitHub/hooks

Repository files navigation

example-hook

NPM JavaScript Style Guide

Install

npm install --save example-hook

Usage

import React, { Component } from 'react'

import { useMyHook } from 'example-hook'

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

License

MIT © MedinaGithub


This hook is created using create-react-hook.

Releases

No releases published

Packages

No packages published