1.1.0 • Published 4 years ago

@yawwusu/my-first-npm-package v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@yawwusu/my-first-npm-package

default custom React hook from npx create-react hook. This is my first published npm package :)

NPM JavaScript Style Guide

Install

npm install --save @yawwusu/my-first-npm-package

Usage

import React, { Component } from 'react'

import { useMyFirstHook } from '@yawwusu/my-first-npm-package'

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

License

MIT © yawwusu


This hook is created using create-react-hook.