first commit
This commit is contained in:
25
uni_modules/tdesign-uniapp/components/picker-item/README.md
Normal file
25
uni_modules/tdesign-uniapp/components/picker-item/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
:: BASE_DOC ::
|
||||
|
||||
## API
|
||||
|
||||
### PickerItem Props
|
||||
|
||||
名称 | 类型 | 默认值 | 描述 | 必传
|
||||
-- | -- | -- | -- | --
|
||||
format | Function | - | 格式化标签。TS 类型:`(option: PickerItemOption, columnIndex: number) => PickerItemOption` | N
|
||||
options | Array | [] | 数据源。TS 类型:`PickerItemOption[]` `interface PickerItemOption { label: string; value: string \| number; icon?: string }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/packages/uniapp-components/picker/type.ts) | N
|
||||
|
||||
### PickerItem Slots
|
||||
|
||||
名称 | 描述
|
||||
-- | --
|
||||
label-suffix--[index] | 列表子项后置插槽,用于自定义标签文本之后的内容。
|
||||
|
||||
### CSS Variables
|
||||
|
||||
组件提供了下列 CSS 变量,可用于自定义样式。
|
||||
名称 | 默认值 | 描述
|
||||
-- | -- | --
|
||||
--td-picker-item-active-color | @text-color-primary | -
|
||||
--td-picker-item-color | @text-color-secondary | -
|
||||
--td-picker-item-font-size | @font-size-m | -
|
||||
Reference in New Issue
Block a user