@quickchat.vn/fuselage-hooks
v0.31.22
Published
React hooks for Fuselage, QuickSales.Vn's design system and UI toolkit
Downloads
16
Maintainers
Readme
@quickchat.vn/fuselage-hooks
React hooks for Fuselage, QuickSales.Vn's design system and UI toolkit
Install
Firstly, install the peer dependencies (prerequisites):
npm i @quickchat.vn/fuselage-tokens react
# or, if you are using yarn:
yarn add @quickchat.vn/fuselage-tokens react
Add @quickchat.vn/fuselage-hooks
as a dependency:
npm i @quickchat.vn/fuselage-hooks
# or, if you are using yarn:
yarn add @quickchat.vn/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