@yawwusu/my-first-npm-package

1.1.0 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @yawwusu/my-first-npm-package

Weekly Downloads

16

Version

1.1.0

License

MIT

Unpacked Size

120 kB

Total Files

23

Last publish

Collaborators

  • yawwusu