@uiw/react-native
Version:
UIW for React Native
19 lines (18 loc) • 579 B
TypeScript
import { KeyType } from '../types';
import React from 'react';
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) => React.JSX.Element;
export default FormTree;