-
Notifications
You must be signed in to change notification settings - Fork 568
Expand file tree
/
Copy pathVibrancyViewNativeComponent.ts
More file actions
40 lines (38 loc) · 1.03 KB
/
VibrancyViewNativeComponent.ts
File metadata and controls
40 lines (38 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
import type { ViewProps, HostComponent, ColorValue } from 'react-native';
import type {
WithDefault,
Int32,
} from 'react-native/Libraries/Types/CodegenTypes';
interface NativeProps extends ViewProps {
blurType?: WithDefault<
| 'dark'
| 'light'
| 'xlight'
| 'prominent'
| 'transparent'
| 'regular'
| 'extraDark'
| 'chromeMaterial'
| 'material'
| 'thickMaterial'
| 'thinMaterial'
| 'ultraThinMaterial'
| 'chromeMaterialDark'
| 'materialDark'
| 'thickMaterialDark'
| 'thinMaterialDark'
| 'ultraThinMaterialDark'
| 'chromeMaterialLight'
| 'materialLight'
| 'thickMaterialLight'
| 'thinMaterialLight'
| 'ultraThinMaterialLight',
'dark'
>;
blurAmount?: WithDefault<Int32, 10>;
reducedTransparencyFallbackColor?: ColorValue;
}
export default codegenNativeComponent<NativeProps>('VibrancyView', {
excludedPlatforms: ['android'],
}) as HostComponent<NativeProps>;