UNPKG

@uiw/react-native

Version:
19 lines (18 loc) 578 B
/// <reference types="react" /> import { KeyType } from '../types'; import { ViewStyle } from 'react-native'; interface FormTreeProps { value?: any; onChange?: (value: KeyType) => void; options?: Array<{ label: string; value: KeyType; }>; disabled?: boolean; placeholder?: string; contentStyle?: ViewStyle; extra?: JSX.Element; showClear?: boolean; } declare const FormTree: ({ value, onChange, options, disabled, placeholder, contentStyle, extra, showClear, ...attr }: FormTreeProps) => JSX.Element; export default FormTree;