Files
lingxiao865 c5af079d8c first commit
2026-02-10 08:05:03 +08:00

26 lines
895 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:: BASE_DOC ::
## API
### PickerItem Props
name | type | default | description | required
-- | -- | -- | -- | --
format | Function | - | Typescript`(option: PickerItemOption, columnIndex: number) => PickerItemOption` | N
options | Array | [] | Typescript`PickerItemOption[]` `interface PickerItemOption { label: string; value: string \| number; icon?: string }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/packages/uniapp-components/picker/type.ts) | N
### PickerItem Slots
name | Description
-- | --
label-suffix--[index] | \-
### CSS Variables
The component provides the following CSS variables, which can be used to customize styles.
Name | Default Value | Description
-- | -- | --
--td-picker-item-active-color | @text-color-primary | -
--td-picker-item-color | @text-color-secondary | -
--td-picker-item-font-size | @font-size-m | -