import React from 'react'; import { ValueType, PickerData, PickerCellMovingStatus } from '../type'; export interface PickerCellProps { prefixCls: string; style?: React.CSSProperties; data: PickerData[]; clickable: boolean; itemHeight: number; wrapperHeight: number; selectedValue?: ValueType; onValueChange?: (value: ValueType, data: PickerData) => void; disabled: boolean; hideEmptyCols?: boolean; /** * 一列展示可选项的个数,默认是5,最小为3 * @en The number of options displayed in a column, the default is 5, the minimum is 3 */ rows?: number; touchToStop?: boolean | number; } export interface PickerCellRef { movingStatus: PickerCellMovingStatus; scrollToCurrentIndex: () => void; getCurrentCellValue: () => ValueType; getCurrentCellData: () => PickerData; } declare const PickerCell: React.ForwardRefExoticComponent>; export default PickerCell;