@gluestack-ui/core
Version:
Universal UI components for React Native, Expo, and Next.js
21 lines • 1.98 kB
TypeScript
import type { ISelectComponentType } from './types';
export declare function createSelect<SelectProps, SelectTriggerProps, SelectInputProps, SelectIconProps, SelectPortalProps, SelectBackdropProps, SelectContentProps, SelectDragIndicatorProps, SelectDragIndicatorWrapperProps, SelectItemProps, SelectItemTextProps, SelectScrollViewProps, SelectVirtualizedListProps, SelectFlatListProps, SelectSectionListProps, SelectSectionHeaderTextProps>({ Root, Trigger, Input, Icon, }: {
Root: React.ComponentType<SelectProps>;
Trigger: React.ComponentType<SelectTriggerProps>;
Input: React.ComponentType<SelectInputProps>;
Icon: React.ComponentType<SelectIconProps>;
}, { Portal, Backdrop, Content, DragIndicator, DragIndicatorWrapper, Item, ItemText, ScrollView, VirtualizedList, FlatList, SectionList, SectionHeaderText, }: {
Portal: React.ComponentType<SelectPortalProps>;
Backdrop: React.ComponentType<SelectBackdropProps>;
Content: React.ComponentType<SelectContentProps>;
DragIndicator: React.ComponentType<SelectDragIndicatorProps>;
DragIndicatorWrapper: React.ComponentType<SelectDragIndicatorWrapperProps>;
Item: React.ComponentType<SelectItemProps>;
ItemText: React.ComponentType<SelectItemTextProps>;
ScrollView: React.ComponentType<SelectScrollViewProps>;
VirtualizedList: React.ComponentType<SelectVirtualizedListProps>;
FlatList: React.ComponentType<SelectFlatListProps>;
SectionList: React.ComponentType<SelectSectionListProps>;
SectionHeaderText: React.ComponentType<SelectSectionHeaderTextProps>;
}): ISelectComponentType<SelectProps, SelectTriggerProps, SelectInputProps, SelectIconProps, SelectPortalProps, SelectBackdropProps, SelectContentProps, SelectDragIndicatorProps, SelectDragIndicatorWrapperProps, SelectItemProps, SelectItemTextProps, SelectScrollViewProps, SelectVirtualizedListProps, SelectFlatListProps, SelectSectionListProps, SelectSectionHeaderTextProps>;
//# sourceMappingURL=index.d.ts.map