UNPKG

@gorhom/bottom-sheet

Version:

A performant interactive bottom sheet with fully configurable options 🚀

19 lines (18 loc) • 635 B
"use strict"; import React, { memo } from 'react'; import { View } from 'react-native'; import { styles } from './styles'; import { jsx as _jsx } from "react/jsx-runtime"; const BottomSheetBackgroundComponent = ({ pointerEvents, style }) => /*#__PURE__*/_jsx(View, { pointerEvents: pointerEvents, accessible: true, accessibilityRole: "adjustable", accessibilityLabel: "Bottom Sheet", style: [styles.background, style] }); export const BottomSheetBackground = /*#__PURE__*/memo(BottomSheetBackgroundComponent); BottomSheetBackground.displayName = 'BottomSheetBackground'; //# sourceMappingURL=BottomSheetBackground.js.map