@boolfly.chat/fuselage-hooks
TypeScript icon, indicating that this package has built-in type declarations

0.33.1 • Public • Published

Boolfly.Chat

@boolfly.chat/fuselage-hooks

React hooks for Fuselage, Boolfly.Chat's design system and UI toolkit


npm@latest npm@next react version npm downloads License: MIT

deps npm bundle size

Install

Firstly, install the peer dependencies (prerequisites):

npm i @boolfly.chat/fuselage-tokens react

# or, if you are using yarn:

yarn add @boolfly.chat/fuselage-tokens react

Add @boolfly.chat/fuselage-hooks as a dependency:

npm i @boolfly.chat/fuselage-hooks

# or, if you are using yarn:

yarn add @boolfly.chat/fuselage-hooks

Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check the issues.

Building

As this package dependends on others in this monorepo, before anything run the following at the root directory:

yarn build

Linting

To ensure the source is matching our coding style, we perform linting. Before commiting, check if your code fits our style by running:

yarn lint

Some linter warnings and errors can be automatically fixed:

yarn lint-and-fix

Running tests

Whenever possible, add tests to describe exactly what your code do. You can run them by yourself:

yarn test

Package Sidebar

Install

npm i @boolfly.chat/fuselage-hooks

Weekly Downloads

2

Version

0.33.1

License

MIT

Unpacked Size

256 kB

Total Files

84

Last publish

Collaborators

  • thanhnamnguyen