README
arena-components
BREAKING CHANGES
1.0.2
- [lib/components/Icon] Valid icon type is now required (no
nullorfalse)
1.0.0
- [lib] All
mixinsandutilsare now object keys (import {mixins, utils} from 'arena-components') - [lib/components/Field]
props.typeis now required - [lib/components/Field]
props.validationMessagenow has a UI element - [lib/components/Flex] No more
props.horizontalSpacingorprops.verticalSpacing - [lib/components/Icon] Valid icon type is now required (no
nullorfalse) - [lib/components/Submit] Button in this component now has
preventDefaultas true by default - [lib/components/Tabs] No more
props.className
bugs
- [lib/components/Field/Select] ***
creatablenot working with styled-components
SETUP
npm i arena-components
Recommended
npm i sanitize.css
// where the root container is passed to ReactDOM.render()
import 'sanitize.css/sanitize.css'
TESTS
Run all tests:
npm test
Watch files for changes and re-run tests related to changed files:
npm run test:watch