import React, { memo, forwardRef } from 'react'; import { Modal } from '../../composites/Modal'; import type { IActionsheetProps } from './types'; import { usePropsResolution } from '../../../hooks'; import { ActionSheetContext } from './ActionSheetContext'; const Actionsheet = ( { children, hideDragIndicator = false, ...props }: IActionsheetProps, ref: any ) => { const { isOpen, disableOverlay, onClose, ...newProps } = usePropsResolution( 'Actionsheet', props ); return ( {children} ); }; export default memo(forwardRef(Actionsheet));