React hooks for Fuselage, Rocket.Chat's design system and UI toolkit
Firstly, install the peer dependencies (prerequisites):
npm i @rocket.chat/fuselage-tokens react # or, if you are using yarn: yarn add @rocket.chat/fuselage-tokens react
@rocket.chat/fuselage-hooks as a dependency:
npm i @rocket.chat/fuselage-hooks # or, if you are using yarn: yarn add @rocket.chat/fuselage-hooks
Contributions, issues, and feature requests are welcome!
Feel free to check the issues.
As this package dependends on others in this monorepo, before anything run the following at the root directory:
To ensure the source is matching our coding style, we perform linting. Before commiting, check if your code fits our style by running:
Some linter warnings and errors can be automatically fixed:
Whenever possible, add tests to describe exactly what your code do. You can run them by yourself: