UNPKG

react-native-glassmorphism

Version:

A React Native component for creating a Glassmorphism effect with background blur.

18 lines (17 loc) 513 B
import React from 'react'; import { ViewStyle } from 'react-native'; import { DimensionValue } from 'react-native'; interface GlassmorphismProps { children?: React.ReactNode; width?: DimensionValue; height?: DimensionValue; borderRadius?: number; borderWidth?: number; borderColor?: string; blurType?: 'light' | 'dark'; blurAmount?: number; shadowColor?: string; style?: ViewStyle; } declare const Glassmorphism: React.FC<GlassmorphismProps>; export default Glassmorphism;