Skip to content

v2.0.1

Compare
Choose a tag to compare
@hiro08gh hiro08gh released this 25 Aug 07:58
· 94 commits to master since this release

Added TypeScript support. There are some changes.

Change

  • Support TypeScript
  • Added GitHub Actions
  • Change from export default to export. When library importing, it will be as follows.
import { useModal } from 'react-hooks-use-modal'
  • Change from babel to microbundle. Added some npm commands.
// build src
npm run build

// watch src
npm run watch