uxcore-transfer-form-field
React transfer form field


Development
git clone https://github.com/uxcore/uxcore-transfer-form-field
cd uxcore-transfer-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-transfer-form-field
cd uxcore-transfer-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/transfer-form-field
Contribute
Yes please! See the CONTRIBUTING for details.
API
Props
参数 | 类型 | 必需 | 默认值 | 说明 |
---|
height | number | optional | 220 | transfer高度 |
showSearch | boolean | optional | true | 是否显示搜索条 |
searchPlaceholder | string | optional | 定位输入内容 | |
leftTitle | string | optional | '未选中的' | 左侧标题 |
rightTitle | string | optional | '已选中的' | 右侧标题 |
isAsc | boolean | optional | false | 是否让新穿梭的值排在尾部 |