uxcore-switch-form-field
v0.2.1
Published
uxcore-switch-form-field component for uxcore.
Downloads
41
Readme
uxcore-switch-form-field
React switch form field
Development
git clone https://github.com/uxcore/uxcore-switch-form-field
cd uxcore-switch-form-field
npm install
npm run server
if you'd like to save your install time,you can use uxcore-tools globally.
npm install uxcore-tools -g
git clone https://github.com/uxcore/uxcore-switch-form-field
cd uxcore-switch-form-field
npm install
npm run dep
npm run start
Test Case
npm run test
Coverage
npm run coverage
Demo
http://uxcore.github.io/components/switch-form-field
Contribute
Yes please! See the CONTRIBUTING for details.
API
Props
| Name | Type | Required | Default | Comments | |---|---|---|---|---| |useRadioGroup|boolean|optional|false|编辑态是否使用RadioGroup渲染|