mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-09 07:18:35 +08:00
<img width="740" alt="Screen Shot 2020-05-20 at 16 31 30" src="https://user-images.githubusercontent.com/1174278/82458770-673d8880-9ab7-11ea-81d3-8ac0c1e52705.png">
13 lines
324 B
TypeScript
13 lines
324 B
TypeScript
import * as React from 'react';
|
|
import { View, ViewProps } from 'react-native';
|
|
|
|
type Props = ViewProps & {
|
|
tint: 'light' | 'dark';
|
|
intensity: number;
|
|
};
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
export default function BlurView({ tint, intensity, ...rest }: Props) {
|
|
return <View {...rest} />;
|
|
}
|