title: Select 选择器 order: 3 nav: title: 组件 path: /components order: 1 group: title: ' ' path: /select order: 15
Select 选择器
下拉选择器。
使用
提供全局属性配置的能力。
import Select from '@tawa/mario-select';
<Select />;
代码演示
基本用法
参数
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
labelKey | options 中标签展示键值字段 | string |
label |
valueKey | options 中选项值键值字段 | string |
value |
其他属性见 antd Select