-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
42 lines (38 loc) · 1.05 KB
/
index.d.ts
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
41
42
import * as React from "react";
import { StyleProp, ViewStyle } from "react-native";
export interface BlurViewProperties {
blurType?:
| "xlight"
| "light"
| "dark"
// iOS 13+ only
| "chromeMaterial"
| "material"
| "thickMaterial"
| "thinMaterial"
| "ultraThinMaterial"
| "chromeMaterialDark"
| "materialDark"
| "thickMaterialDark"
| "thinMaterialDark"
| "ultraThinMaterialDark"
| "chromeMaterialLight"
| "materialLight"
| "thickMaterialLight"
| "thinMaterialLight"
| "ultraThinMaterialLight"
// tvOS and iOS 10+ only
| "regular"
| "prominent"
// tvOS only
| "extraDark"
blurAmount?: number // 0 - 100
reducedTransparencyFallbackColor?: string
style?: StyleProp<ViewStyle>
blurRadius?: number
downsampleFactor?: number
overlayColor?: string
}
export class BlurView extends React.Component<BlurViewProperties, {}> {}
export interface VibrancyViewProperties extends BlurViewProperties {}
export class VibrancyView extends React.Component<VibrancyViewProperties, {}> {}