test-nut-ui
Version:
<p align="center"> <img alt="logo" src="https://img11.360buyimg.com/imagetools/jfs/t1/211965/25/7152/22022/61b16785E433119bb/aa41d7a9f7e823f3.png" width="150" style="margin-bottom: 10px;"> </p>
20 lines (19 loc) • 674 B
TypeScript
import React from 'react';
import { PickerOption } from './types';
interface PickerPanelProps {
keyIndex?: number;
defaultValue?: string | number;
options?: PickerOption[];
threeDimensional: boolean;
duration: number | string;
cellHeight: number;
withSeparator: boolean;
tabValue: number | string;
option?: (item: any, active: boolean) => React.ReactNode;
chooseItem?: (val: PickerOption, idx: number, tabValue?: number | string) => void;
}
declare const PickerPanel: React.ForwardRefExoticComponent<Partial<PickerPanelProps> & React.RefAttributes<{
stopMomentum: () => void;
moving: boolean;
}>>;
export default PickerPanel;