diff --git a/packages/unstyled/actionsheet/src/ActionsheetDragIndicator.tsx b/packages/unstyled/actionsheet/src/ActionsheetDragIndicator.tsx index bced34aa46..f39b897043 100644 --- a/packages/unstyled/actionsheet/src/ActionsheetDragIndicator.tsx +++ b/packages/unstyled/actionsheet/src/ActionsheetDragIndicator.tsx @@ -6,7 +6,11 @@ function ActionsheetDragIndicator( return forwardRef( ({ children, ...props }: T & { children?: any }, ref?: any) => { return ( - + {children} ); diff --git a/packages/unstyled/actionsheet/src/index.tsx b/packages/unstyled/actionsheet/src/index.tsx index 2a7df35059..2410562a7d 100644 --- a/packages/unstyled/actionsheet/src/index.tsx +++ b/packages/unstyled/actionsheet/src/index.tsx @@ -4,8 +4,8 @@ import { ActionsheetItem } from './ActionsheetItem'; import ActionsheetBackdrop from './ActionsheetBackdrop'; import { ActionsheetDragIndicatorWrapper } from './ActionsheetDragIndicatorWrapper'; import type { IActionsheetComponentType } from './types'; +import ActionsheetDragIndicator from './ActionsheetDragIndicator'; // import { ActionsheetItemText } from './ActionsheetItemText'; -// import ActionsheetDragIndicator from './ActionsheetDragIndicator'; // import { ActionsheetScrollView } from './ActionsheetScrollView'; // import { ActionsheetVirtualizedList } from './ActionsheetVirtualizedList'; @@ -63,7 +63,7 @@ export function createActionsheet< const Actionsheet = ActionsheetMain(Root) as any; Actionsheet.Backdrop = ActionsheetBackdrop(Backdrop, AnimatePresence); Actionsheet.Content = ActionsheetContent(Content, AnimatePresence); - Actionsheet.DragIndicator = DragIndicator; + Actionsheet.DragIndicator = ActionsheetDragIndicator(DragIndicator); Actionsheet.DragIndicatorWrapper = ActionsheetDragIndicatorWrapper(IndicatorWrapper); Actionsheet.Item = ActionsheetItem(Item);