@boolfly.chat/fuselage-toastbar
v0.33.0
Published
Fuselage ToastBar component
Downloads
13
Maintainers
Readme
@boolfly.chat/fuselage-toastbar
Fuselage ToastBar component
Install
Firstly, install the peer dependencies (prerequisites):
npm i @boolfly.chat/fuselage @boolfly.chat/fuselage-hooks @boolfly.chat/fuselage-polyfills @boolfly.chat/styled react react-dom
# or, if you are using yarn:
yarn add @boolfly.chat/fuselage @boolfly.chat/fuselage-hooks @boolfly.chat/fuselage-polyfills @boolfly.chat/styled react react-dom
Add @boolfly.chat/fuselage-toastbar
as a dependency:
npm i @boolfly.chat/fuselage-toastbar
# or, if you are using yarn:
yarn add @boolfly.chat/fuselage-toastbar
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