UNPKG

@gorhom/bottom-sheet

Version:

A performant interactive bottom sheet with fully configurable options 🚀

17 lines • 677 B
import React, { memo } from 'react'; import { styles } from './styles'; const BottomSheetBackdropContainerComponent = ({ animatedIndex, animatedPosition, backdropComponent: BackdropComponent }) => { return BackdropComponent ? /*#__PURE__*/React.createElement(BackdropComponent, { animatedIndex: animatedIndex, animatedPosition: animatedPosition, style: styles.container }) : null; }; const BottomSheetBackdropContainer = /*#__PURE__*/memo(BottomSheetBackdropContainerComponent); BottomSheetBackdropContainer.displayName = 'BottomSheetBackdropContainer'; export default BottomSheetBackdropContainer; //# sourceMappingURL=BottomSheetBackdropContainer.js.map