mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
types(Area): use tsx (#8140)
This commit is contained in:
@@ -29,14 +29,14 @@ function getElementTranslateY(element: Element) {
|
||||
return Number(translateY);
|
||||
}
|
||||
|
||||
export type PickerOption =
|
||||
| string
|
||||
| {
|
||||
text: string;
|
||||
disabled?: boolean;
|
||||
// for custom filed names
|
||||
[key: string]: any;
|
||||
};
|
||||
export type PickerObjectOption = {
|
||||
text?: string;
|
||||
disabled?: boolean;
|
||||
// for custom filed names
|
||||
[key: string]: any;
|
||||
};
|
||||
|
||||
export type PickerOption = string | PickerObjectOption;
|
||||
|
||||
export type PickerObjectColumn = {
|
||||
values?: PickerOption[];
|
||||
|
Reference in New Issue
Block a user