UNPKG

@niku/react-native-dropdown-select

Version:
18 lines (17 loc) 800 B
import React from 'react'; import { ListRenderItem, StyleProp, ViewStyle } from 'react-native'; import type { DropdownOption, DropdownPositioin, Layout } from '../types'; interface DropdownModalProps { visible: boolean; onDismiss?: () => void; onDismissed?: () => void; dropdownContainerStyle?: StyleProp<ViewStyle>; renderItem?: ListRenderItem<DropdownOption>; options?: DropdownOption[]; loading?: boolean; loadingComponent?: React.ReactNode; buttonLayout: Layout; position?: DropdownPositioin; } declare const DropdownModalContent: ({ visible, onDismiss, onDismissed, dropdownContainerStyle, renderItem, options, loading, loadingComponent, buttonLayout, position, }: DropdownModalProps) => JSX.Element; export default DropdownModalContent;