@danielsaraldi/react-native-blur-view
Version:
A simple blur view in react native
30 lines • 1 kB
TypeScript
import { View } from 'react-native';
import type { VibrancyViewProps } from './@types';
/**
* @description The `VibrancyView` component is a React Native component that
* provides a native vibrancy effect to its children.
*
* @see https://github.com/DanielAraldi/react-native-blur-view?tab=readme-ov-file#vibrancyview
*
* @since 1.2.0
*
* @example
* ```tsx
* import React from 'react';
* import { View, Text } from 'react-native';
* import { VibrancyView } from '@danielsaraldi/react-native-blur-view';
* import { styles } from './styles';
*
* const MyComponent = () => {
* return (
* <View style={styles.container}>
* <VibrancyView style={styles.vibrancyView}>
* <Text style={styles.vibrancyText}>Vibrant Content</Text>
* </VibrancyView>
* </View>
* );
* };
* ```
*/
export declare const VibrancyView: import("react").ForwardRefExoticComponent<VibrancyViewProps & import("react").RefAttributes<View>>;
//# sourceMappingURL=VibrancyView.d.ts.map