Skip to content
Snippets Groups Projects
user avatar
Douglas Fabris authored
Co-authored-by: default avatarTasso <tasso.evangelista@rocket.chat>
2f5e2873
History

Rocket.Chat

@rocket.chat/ui-kit

Interactive UI elements for Rocket.Chat Apps


npm@latest npm@next npm downloads License: MIT

deps npm bundle size

Install

Add @rocket.chat/ui-kit as a dependency:

npm i @rocket.chat/ui-kit

# or, if you are using yarn:

yarn add @rocket.chat/ui-kit

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