UNPKG

@gluestack-ui/core

Version:

Universal UI components for React Native, Expo, and Next.js

24 lines 1.35 kB
import { Actionsheet as ActionsheetMain } from './Actionsheet'; import ActionsheetContent from './ActionsheetContent'; import { ActionsheetItem } from './ActionsheetItem'; import ActionsheetBackdrop from './ActionsheetBackdrop'; import { ActionsheetDragIndicatorWrapper } from './ActionsheetDragIndicatorWrapper'; import ActionsheetDragIndicator from './ActionsheetDragIndicator'; export function createActionsheet({ Root, Backdrop, Item, ItemText, DragIndicator, IndicatorWrapper, Content, ScrollView, VirtualizedList, FlatList, SectionList, SectionHeaderText, Icon, AnimatePresence, }) { const Actionsheet = ActionsheetMain(Root); Actionsheet.Backdrop = ActionsheetBackdrop(Backdrop, AnimatePresence); Actionsheet.Content = ActionsheetContent(Content, AnimatePresence); Actionsheet.DragIndicator = ActionsheetDragIndicator(DragIndicator); Actionsheet.DragIndicatorWrapper = ActionsheetDragIndicatorWrapper(IndicatorWrapper); Actionsheet.Item = ActionsheetItem(Item); Actionsheet.ItemText = ItemText; Actionsheet.Icon = Icon; Actionsheet.ScrollView = ScrollView; Actionsheet.VirtualizedList = VirtualizedList; Actionsheet.FlatList = FlatList; Actionsheet.SectionList = SectionList; Actionsheet.SectionHeaderText = SectionHeaderText; return Actionsheet; } //# sourceMappingURL=index.jsx.map