x-radio-list
v1.0.5
Published
react xui 单选切换按钮
Downloads
11
Maintainers
Readme
x-radio-list
安装
npm install --save x-radio-list
使用
<RadioList value="1">
<Radio value="1">aaaa</Radio>
<Radio value="2">bbb</Radio>
</RadioList>
<RadioList value="1">
<Radio value="1" text="AAA">aaaa</Radio>
<Radio value="2">bbb</Radio>
</RadioList>
<RadioList disabled={true} disabledCls="disabled" value="1" options={[{value:1,text:"aaa"},{value:2,text:"bbb"}]}>
</RadioList>
Api
showTitle
是否显示title提示,默认不显示
Radio.title
title提示
options
数据来源模式
children
Radio