@tractorzoom/component-library
Component library using Material UI
Contributing
We welcome improvements and fixes via PRs. Review the contributing guidelines below before getting started.
Code Style
We use Prettier with pre-commit hooks to format the majority of our code style preferences.
Committing
We use commitlint to ensure our commit messages are consistent and semantic. Commitlint is enable through a pre-commit hook with husky
. For assistance with making commit messages that abide by our configuration, use npm run commit
to step through the commitizen wizard to commit staged changes.
Storybook
We use Storybook to create our examples for our component. If you are adding or editing props to the VirtualizedSelect
component, ensure that you have added or updated any stories effected to document the functionality of the component.
Testing
Using Jest for testing. Prefer the use of Jest Snapshots and react-test-renderer.
npm run test