UNPKG

@bytedance/mona-client-web

Version:

web for mona

20 lines (19 loc) 489 B
import React from 'react'; export declare enum PickerCellMovingStatus { normal = "normal", moving = "moving", scrolling = "scrolling" } export type ValueType = string | number; export interface PickerData { value: ValueType; label: React.ReactNode; children?: PickerData[]; } export interface PickerViewProps { data: PickerData[]; cols?: number; rows?: number; value: ValueType[]; onColumnChange?: (value: ValueType[], index: number) => void; }