UNPKG

react-native-omni-select

Version:

The omni-platform select component for React Native - iOS, Android, Web, Expo, Next.js SSR

18 lines 554 B
export interface DropdownProps<T = any> { data: T[]; value?: T | T[] | null; onChange?: (value: T | T[] | null) => void; labelField?: keyof T | ((item: T) => string); valueField?: keyof T | ((item: T) => any); placeholder?: string; searchPlaceholder?: string; noResultsText?: string; renderItem?: (item: T, isSelected: boolean) => React.ReactNode; search?: boolean; multiple?: boolean; disabled?: boolean; style?: any; dropdownStyle?: any; itemStyle?: any; } //# sourceMappingURL=types.d.ts.map