UNPKG

rn-liquid-glass-view

Version:
16 lines 545 B
import React from 'react'; import { Platform, Pressable } from 'react-native'; import { LiquidGlassView as LiquidGlassViewNative } from "./LiquidGlassView.js"; import { jsx as _jsx } from "react/jsx-runtime"; const LiquidGlassView = props => { if (Platform.OS === 'android' || Platform.OS === 'ios' && Number(Platform.Version) < 26) { return /*#__PURE__*/_jsx(Pressable, { ...props }); } return /*#__PURE__*/_jsx(LiquidGlassViewNative, { ...props }); }; export default LiquidGlassView; //# sourceMappingURL=index.js.map