UNPKG

@alifd/meet-react

Version:

Fusion Mobile React UI System Component

18 lines (17 loc) 662 B
import { CSSProperties } from 'react'; import { LocaledComponentProps } from '../locale'; import { BaseComponentAttributes } from '../utils/types'; import { PickerColumnData } from './column'; export interface LocaleType { empty: string; } export interface PickerProps extends BaseComponentAttributes, LocaledComponentProps<LocaleType> { name?: string; data: PickerColumnData[] | PickerColumnData[][]; value?: Array<string | number>; defaultValue?: Array<string | number>; cascade?: boolean; maskStyle?: CSSProperties; indicatorStyle?: CSSProperties; onChange?: (value: Array<string | number>, columnIndex: number) => void; }