README
Shared React Components
Getting started
Documentation
Documentation for components can be found on link that you can find in our Slack channel
Link to pinned post: https://moneta-digital.slack.com/archives/C5HFRJRHB/p1499623364471497
Localhost development
You can run your own documentation simply by running those commands:
yarn
yarn start
It will start local documentation server on port 6060
List of available yarn commands:
yarn build: build documentation packageyarn health-check: run ESlint check and Jest coverage reportyarn lint: run ESlint checkyarn lint:fix: run autofix for ESlintyarn newclean: do a clean installationyarn start: run Styleguidist serveryarn test: run Jest in watcher modeyarn test:coverage: generate test coverage report
List of available components
<Select />- Required props: name, label and options<Radio />- Required props: name, label and options<Checkbox />- Required props: name and label<Input />- Required props: name and label<Slider />- Required props: name and labelmuiTheme- Needs to be passed to to<MuiThemeProvider muiTheme={muiTheme}><FormDebug />- Receives values and errors which are being returned by redux-form<Button /><Loader />