uxcore-switch-form-field component for uxcore.


Keywords
react, react-component, uxcore-switch-form-field, SwitchFormField, component
License
MIT
Install
npm install uxcore-switch-form-field@0.2.1

Documentation

uxcore-switch-form-field

React switch form field

NPM version build status Test Coverage Dependency Status devDependency Status NPM downloads

Sauce Test Status

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渲染