UNPKG

@uiw/react-native

Version:
21 lines (20 loc) 544 B
import { FC } from 'react'; import { ColorValue } from 'react-native'; export interface TreeSelectOption { [key: string]: any; } export declare type TreeSelectProps = { options: TreeSelectOption[]; defaultValue?: string[]; value?: string[]; onChange?: (value: string[], extend: { options: TreeSelectOption[]; }) => void; fieldNames?: { label: string; value: string; children: string; } | any; activeColor?: ColorValue; }; export declare const TreeSelect: FC<TreeSelectProps>;