UNPKG

@nutui/nutui-react-taro

Version:

京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序

16 lines (15 loc) 516 B
import { default as React } from 'react'; import { PickerOption } from './types'; interface PickerPanelProps { keyIndex?: number; defaultValue?: string | number; options?: PickerOption[]; threeDimensional: boolean; duration: number | string; chooseItem?: (val: PickerOption, idx: number) => void; } declare const PickerPanel: React.ForwardRefExoticComponent<Partial<PickerPanelProps> & React.RefAttributes<{ stopMomentum: () => void; moving: boolean; }>>; export default PickerPanel;