@sbaiahmed1/react-native-blur 4.6.1 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -11
- package/android/src/main/java/com/sbaiahmed1/reactnativeblur/BlurType.kt +24 -22
- package/android/src/main/java/com/sbaiahmed1/reactnativeblur/ReactNativeBlurSwitch.kt +19 -1
- package/android/src/main/java/com/sbaiahmed1/reactnativeblur/ReactNativeBlurSwitchManager.kt +5 -0
- package/android/src/main/java/com/sbaiahmed1/reactnativeblur/ReactNativeBlurView.kt +63 -10
- package/android/src/main/java/com/sbaiahmed1/reactnativeblur/ReactNativeBlurViewManager.kt +5 -0
- package/android/src/main/java/com/sbaiahmed1/reactnativeblur/ReactNativeProgressiveBlurView.kt +60 -10
- package/android/src/main/java/com/sbaiahmed1/reactnativeblur/ReactNativeProgressiveBlurViewManager.kt +5 -0
- package/ios/Views/BlurEffectView.swift +32 -19
- package/lib/module/BlurSwitch.js +11 -6
- package/lib/module/BlurSwitch.js.map +1 -1
- package/lib/module/BlurView.js +2 -0
- package/lib/module/BlurView.js.map +1 -1
- package/lib/module/LiquidGlassContainer.js.map +1 -1
- package/lib/module/LiquidGlassView.js.map +1 -1
- package/lib/module/ProgressiveBlurView.js +3 -0
- package/lib/module/ProgressiveBlurView.js.map +1 -1
- package/lib/module/ReactNativeBlurSwitchNativeComponent.ts +2 -37
- package/lib/module/ReactNativeBlurViewNativeComponent.ts +2 -0
- package/lib/module/ReactNativeLiquidGlassContainerNativeComponent.ts +0 -5
- package/lib/module/ReactNativeLiquidGlassViewNativeComponent.ts +0 -35
- package/lib/module/ReactNativeProgressiveBlurViewNativeComponent.ts +2 -0
- package/lib/typescript/src/BlurSwitch.d.ts +10 -0
- package/lib/typescript/src/BlurSwitch.d.ts.map +1 -1
- package/lib/typescript/src/BlurView.d.ts +11 -2
- package/lib/typescript/src/BlurView.d.ts.map +1 -1
- package/lib/typescript/src/LiquidGlassContainer.d.ts +3 -2
- package/lib/typescript/src/LiquidGlassContainer.d.ts.map +1 -1
- package/lib/typescript/src/LiquidGlassView.d.ts +25 -15
- package/lib/typescript/src/LiquidGlassView.d.ts.map +1 -1
- package/lib/typescript/src/ProgressiveBlurView.d.ts +11 -2
- package/lib/typescript/src/ProgressiveBlurView.d.ts.map +1 -1
- package/lib/typescript/src/ReactNativeBlurSwitchNativeComponent.d.ts +2 -32
- package/lib/typescript/src/ReactNativeBlurSwitchNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/ReactNativeBlurViewNativeComponent.d.ts +2 -1
- package/lib/typescript/src/ReactNativeBlurViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/ReactNativeLiquidGlassContainerNativeComponent.d.ts +0 -5
- package/lib/typescript/src/ReactNativeLiquidGlassContainerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/ReactNativeLiquidGlassViewNativeComponent.d.ts +0 -30
- package/lib/typescript/src/ReactNativeLiquidGlassViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/ReactNativeProgressiveBlurViewNativeComponent.d.ts +2 -1
- package/lib/typescript/src/ReactNativeProgressiveBlurViewNativeComponent.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/BlurSwitch.tsx +23 -3
- package/src/BlurView.tsx +14 -2
- package/src/LiquidGlassContainer.tsx +3 -2
- package/src/LiquidGlassView.tsx +25 -15
- package/src/ProgressiveBlurView.tsx +15 -2
- package/src/ReactNativeBlurSwitchNativeComponent.ts +2 -37
- package/src/ReactNativeBlurViewNativeComponent.ts +2 -0
- package/src/ReactNativeLiquidGlassContainerNativeComponent.ts +0 -5
- package/src/ReactNativeLiquidGlassViewNativeComponent.ts +0 -35
- package/src/ReactNativeProgressiveBlurViewNativeComponent.ts +2 -0
package/src/BlurSwitch.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Platform, Switch } from 'react-native';
|
|
2
|
+
import { Platform, StyleSheet, Switch } from 'react-native';
|
|
3
3
|
import type { ViewStyle, StyleProp, ColorValue } from 'react-native';
|
|
4
4
|
import ReactNativeBlurSwitch from './ReactNativeBlurSwitchNativeComponent';
|
|
5
5
|
|
|
@@ -30,10 +30,21 @@ export interface BlurSwitchProps {
|
|
|
30
30
|
* @description The intensity of the blur effect (0-100)
|
|
31
31
|
*
|
|
32
32
|
* @platform android
|
|
33
|
+
*
|
|
33
34
|
* @default 10
|
|
34
35
|
*/
|
|
35
36
|
blurAmount?: number;
|
|
36
37
|
|
|
38
|
+
/**
|
|
39
|
+
* @description The number of blur interactions to perform for a smoother
|
|
40
|
+
* effect (1-15)
|
|
41
|
+
*
|
|
42
|
+
* @default 5
|
|
43
|
+
*
|
|
44
|
+
* @platform Android
|
|
45
|
+
*/
|
|
46
|
+
blurRounds?: number;
|
|
47
|
+
|
|
37
48
|
/**
|
|
38
49
|
* @description The color of the switch thumb
|
|
39
50
|
*
|
|
@@ -93,8 +104,9 @@ export interface BlurSwitchProps {
|
|
|
93
104
|
*/
|
|
94
105
|
export const BlurSwitch: React.FC<BlurSwitchProps> = ({
|
|
95
106
|
value = false,
|
|
96
|
-
onValueChange,
|
|
97
107
|
blurAmount = 10,
|
|
108
|
+
blurRounds = 5,
|
|
109
|
+
onValueChange,
|
|
98
110
|
thumbColor = '#FFFFFF',
|
|
99
111
|
trackColor = { false: '#E5E5EA', true: '#34C759' },
|
|
100
112
|
disabled = false,
|
|
@@ -117,12 +129,13 @@ export const BlurSwitch: React.FC<BlurSwitchProps> = ({
|
|
|
117
129
|
|
|
118
130
|
return (
|
|
119
131
|
<ReactNativeBlurSwitch
|
|
120
|
-
style={[
|
|
132
|
+
style={[styles.switch, style]}
|
|
121
133
|
value={value}
|
|
122
134
|
onValueChange={(event) => {
|
|
123
135
|
onValueChange?.(event.nativeEvent.value);
|
|
124
136
|
}}
|
|
125
137
|
blurAmount={blurAmount}
|
|
138
|
+
blurRounds={blurRounds}
|
|
126
139
|
thumbColor={toColorString(thumbColor, '#FFFFFF')}
|
|
127
140
|
trackColorOff={toColorString(trackColor?.false, '#E5E5EA')}
|
|
128
141
|
trackColorOn={toColorString(trackColor?.true, '#34C759')}
|
|
@@ -132,4 +145,11 @@ export const BlurSwitch: React.FC<BlurSwitchProps> = ({
|
|
|
132
145
|
);
|
|
133
146
|
};
|
|
134
147
|
|
|
148
|
+
const styles = StyleSheet.create({
|
|
149
|
+
switch: {
|
|
150
|
+
width: 65,
|
|
151
|
+
height: 36,
|
|
152
|
+
},
|
|
153
|
+
});
|
|
154
|
+
|
|
135
155
|
export default BlurSwitch;
|
package/src/BlurView.tsx
CHANGED
|
@@ -21,11 +21,21 @@ export interface BlurViewProps {
|
|
|
21
21
|
blurAmount?: number;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* @description
|
|
24
|
+
* @description The number of blur interactions to perform for a smoother
|
|
25
|
+
* effect (1-15)
|
|
25
26
|
*
|
|
26
|
-
*
|
|
27
|
+
* @default 5
|
|
28
|
+
*
|
|
29
|
+
* @platform Android
|
|
30
|
+
*/
|
|
31
|
+
blurRounds?: number;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @description Fallback color when reduced transparency is enabled
|
|
27
35
|
*
|
|
28
36
|
* @default '#FFFFFF'
|
|
37
|
+
*
|
|
38
|
+
* @platform iOS
|
|
29
39
|
*/
|
|
30
40
|
reducedTransparencyFallbackColor?: string;
|
|
31
41
|
|
|
@@ -83,6 +93,7 @@ export interface BlurViewProps {
|
|
|
83
93
|
export const BlurView: React.FC<BlurViewProps> = ({
|
|
84
94
|
blurType = 'xlight',
|
|
85
95
|
blurAmount = 10,
|
|
96
|
+
blurRounds = 5,
|
|
86
97
|
reducedTransparencyFallbackColor = '#FFFFFF',
|
|
87
98
|
overlayColor,
|
|
88
99
|
style,
|
|
@@ -94,6 +105,7 @@ export const BlurView: React.FC<BlurViewProps> = ({
|
|
|
94
105
|
const commonProps: BlurViewProps = {
|
|
95
106
|
blurType,
|
|
96
107
|
blurAmount,
|
|
108
|
+
blurRounds,
|
|
97
109
|
ignoreSafeArea,
|
|
98
110
|
reducedTransparencyFallbackColor,
|
|
99
111
|
};
|
|
@@ -4,10 +4,11 @@ import ReactNativeLiquidGlassContainer from './ReactNativeLiquidGlassContainerNa
|
|
|
4
4
|
|
|
5
5
|
export interface LiquidGlassContainerProps extends ViewProps {
|
|
6
6
|
/**
|
|
7
|
-
* The spacing value for the glass container effect
|
|
8
|
-
* Platform: iOS only (iOS 26+)
|
|
7
|
+
* @description The spacing value for the glass container effect
|
|
9
8
|
*
|
|
10
9
|
* @default 0
|
|
10
|
+
*
|
|
11
|
+
* @platform iOS
|
|
11
12
|
*/
|
|
12
13
|
spacing?: number;
|
|
13
14
|
}
|
package/src/LiquidGlassView.tsx
CHANGED
|
@@ -8,62 +8,72 @@ import BlurView from './BlurView';
|
|
|
8
8
|
|
|
9
9
|
export interface LiquidGlassViewProps {
|
|
10
10
|
/**
|
|
11
|
-
* The type of glass effect to apply
|
|
12
|
-
* Platform: iOS 26+ only
|
|
11
|
+
* @description The type of glass effect to apply
|
|
13
12
|
*
|
|
14
13
|
* @default 'clear'
|
|
14
|
+
*
|
|
15
|
+
* @platform iOS 26+
|
|
15
16
|
*/
|
|
16
17
|
glassType?: GlassType;
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
|
-
* The tint color of the glass effect
|
|
20
|
-
*
|
|
21
|
-
* Platform: iOS 26+ only
|
|
20
|
+
* @description The tint color of the glass effect. Accepts hex color strings
|
|
21
|
+
* like '#FFFFFF' or color names
|
|
22
22
|
*
|
|
23
23
|
* @default 'clear'
|
|
24
|
+
*
|
|
25
|
+
* @platform iOS 26+
|
|
24
26
|
*/
|
|
25
27
|
glassTintColor?: string;
|
|
26
28
|
|
|
27
29
|
/**
|
|
28
|
-
* The opacity of the glass effect (0-1)
|
|
29
|
-
* Platform: iOS 26+ only
|
|
30
|
+
* @description The opacity of the glass effect (0-1)
|
|
30
31
|
*
|
|
31
32
|
* @default 1.0
|
|
33
|
+
*
|
|
34
|
+
* @platform iOS 26+
|
|
32
35
|
*/
|
|
33
36
|
glassOpacity?: number;
|
|
34
37
|
|
|
35
38
|
/**
|
|
36
|
-
* Fallback color when reduced transparency is enabled or on
|
|
37
|
-
*
|
|
38
|
-
* Platform: iOS only
|
|
39
|
+
* @description Fallback color when reduced transparency is enabled or on
|
|
40
|
+
* older iOS versions
|
|
39
41
|
*
|
|
40
42
|
* @default '#FFFFFF'
|
|
43
|
+
*
|
|
44
|
+
* @platform iOS
|
|
41
45
|
*/
|
|
42
46
|
reducedTransparencyFallbackColor?: string;
|
|
43
47
|
|
|
44
48
|
/**
|
|
45
|
-
* Whether the glass view should be interactive
|
|
46
|
-
* Platform: iOS 26+ only
|
|
49
|
+
* @description Whether the glass view should be interactive
|
|
47
50
|
*
|
|
48
51
|
* @default true
|
|
52
|
+
*
|
|
53
|
+
* @platform iOS
|
|
49
54
|
*/
|
|
50
55
|
isInteractive?: boolean;
|
|
51
56
|
|
|
52
57
|
/**
|
|
53
|
-
* Whether the glass view should ignore safe area insets
|
|
54
|
-
* Platform: iOS 26+ only
|
|
58
|
+
* @description Whether the glass view should ignore safe area insets
|
|
55
59
|
*
|
|
56
60
|
* @default false
|
|
61
|
+
*
|
|
62
|
+
* @platform iOS
|
|
57
63
|
*/
|
|
58
64
|
ignoreSafeArea?: boolean;
|
|
59
65
|
|
|
60
66
|
/**
|
|
61
|
-
* Style object for the liquid glass view
|
|
67
|
+
* @description Style object for the liquid glass view
|
|
68
|
+
*
|
|
69
|
+
* @default undefined
|
|
62
70
|
*/
|
|
63
71
|
style?: StyleProp<ViewStyle>;
|
|
64
72
|
|
|
65
73
|
/**
|
|
66
74
|
* Child components to render inside the liquid glass view
|
|
75
|
+
*
|
|
76
|
+
* @default undefined
|
|
67
77
|
*/
|
|
68
78
|
children?: React.ReactNode;
|
|
69
79
|
}
|
|
@@ -22,6 +22,16 @@ export interface ProgressiveBlurViewProps {
|
|
|
22
22
|
*/
|
|
23
23
|
blurAmount?: number;
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* @description The number of blur interactions to perform for a smoother
|
|
27
|
+
* effect (1-15)
|
|
28
|
+
*
|
|
29
|
+
* @default 5
|
|
30
|
+
*
|
|
31
|
+
* @platform Android
|
|
32
|
+
*/
|
|
33
|
+
blurRounds?: number;
|
|
34
|
+
|
|
25
35
|
/**
|
|
26
36
|
* @description The direction of the progressive blur gradient
|
|
27
37
|
* - 'blurredTopClearBottom': Blur starts at top, clear at bottom
|
|
@@ -44,9 +54,9 @@ export interface ProgressiveBlurViewProps {
|
|
|
44
54
|
/**
|
|
45
55
|
* @description Fallback color when reduced transparency is enabled
|
|
46
56
|
*
|
|
47
|
-
* Accepts hex color strings like `#FFFFFF`
|
|
48
|
-
*
|
|
49
57
|
* @default '#FFFFFF'
|
|
58
|
+
*
|
|
59
|
+
* @platform iOS
|
|
50
60
|
*/
|
|
51
61
|
reducedTransparencyFallbackColor?: string;
|
|
52
62
|
|
|
@@ -115,6 +125,7 @@ export interface ProgressiveBlurViewProps {
|
|
|
115
125
|
export const ProgressiveBlurView: React.FC<ProgressiveBlurViewProps> = ({
|
|
116
126
|
blurType = 'regular',
|
|
117
127
|
blurAmount = 20,
|
|
128
|
+
blurRounds = 5,
|
|
118
129
|
direction = 'blurredTopClearBottom',
|
|
119
130
|
startOffset = 0.0,
|
|
120
131
|
reducedTransparencyFallbackColor = '#FFFFFF',
|
|
@@ -131,6 +142,7 @@ export const ProgressiveBlurView: React.FC<ProgressiveBlurViewProps> = ({
|
|
|
131
142
|
<ReactNativeProgressiveBlurView
|
|
132
143
|
blurType={blurType}
|
|
133
144
|
blurAmount={blurAmount}
|
|
145
|
+
blurRounds={blurRounds}
|
|
134
146
|
direction={direction}
|
|
135
147
|
startOffset={startOffset}
|
|
136
148
|
reducedTransparencyFallbackColor={reducedTransparencyFallbackColor}
|
|
@@ -147,6 +159,7 @@ export const ProgressiveBlurView: React.FC<ProgressiveBlurViewProps> = ({
|
|
|
147
159
|
<ReactNativeProgressiveBlurView
|
|
148
160
|
blurType={blurType}
|
|
149
161
|
blurAmount={blurAmount}
|
|
162
|
+
blurRounds={blurRounds}
|
|
150
163
|
direction={direction}
|
|
151
164
|
startOffset={startOffset}
|
|
152
165
|
reducedTransparencyFallbackColor={reducedTransparencyFallbackColor}
|
|
@@ -4,6 +4,7 @@ import type {
|
|
|
4
4
|
WithDefault,
|
|
5
5
|
Double,
|
|
6
6
|
DirectEventHandler,
|
|
7
|
+
Int32,
|
|
7
8
|
} from 'react-native/Libraries/Types/CodegenTypes';
|
|
8
9
|
|
|
9
10
|
export interface ValueChangeEvent {
|
|
@@ -11,49 +12,13 @@ export interface ValueChangeEvent {
|
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
interface NativeProps extends ViewProps {
|
|
14
|
-
/**
|
|
15
|
-
* The current value of the switch
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
15
|
value?: WithDefault<boolean, false>;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* The intensity of the blur effect (0-100)
|
|
22
|
-
* @default 10.0
|
|
23
|
-
*/
|
|
24
16
|
blurAmount?: WithDefault<Double, 10.0>;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* The color of the switch thumb
|
|
28
|
-
* Note: Not supported by the Android implementation (no-op).
|
|
29
|
-
* Use the native iOS Switch for platform-specific thumb colors.
|
|
30
|
-
* @default '#FFFFFF'
|
|
31
|
-
*/
|
|
17
|
+
blurRounds?: WithDefault<Int32, 5>;
|
|
32
18
|
thumbColor?: WithDefault<string, '#FFFFFF'>;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* The track color when switch is off
|
|
36
|
-
* Note: Not supported by the Android implementation (no-op).
|
|
37
|
-
* Use the native iOS Switch for platform-specific off-state colors.
|
|
38
|
-
* @default '#E5E5EA'
|
|
39
|
-
*/
|
|
40
19
|
trackColorOff?: WithDefault<string, '#E5E5EA'>;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* The track color when switch is on
|
|
44
|
-
* @default '#34C759'
|
|
45
|
-
*/
|
|
46
20
|
trackColorOn?: WithDefault<string, '#34C759'>;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Whether the switch is disabled
|
|
50
|
-
* @default false
|
|
51
|
-
*/
|
|
52
21
|
disabled?: WithDefault<boolean, false>;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Callback invoked when the switch value changes
|
|
56
|
-
*/
|
|
57
22
|
onValueChange?: DirectEventHandler<Readonly<ValueChangeEvent>>;
|
|
58
23
|
}
|
|
59
24
|
|
|
@@ -3,6 +3,7 @@ import type { ViewProps } from 'react-native';
|
|
|
3
3
|
import type {
|
|
4
4
|
WithDefault,
|
|
5
5
|
Double,
|
|
6
|
+
Int32,
|
|
6
7
|
} from 'react-native/Libraries/Types/CodegenTypes';
|
|
7
8
|
|
|
8
9
|
export type BlurType =
|
|
@@ -31,6 +32,7 @@ export type BlurType =
|
|
|
31
32
|
interface NativeProps extends ViewProps {
|
|
32
33
|
blurAmount?: WithDefault<Double, 10.0>;
|
|
33
34
|
blurType?: WithDefault<BlurType, 'xlight'>;
|
|
35
|
+
blurRounds?: WithDefault<Int32, 5>;
|
|
34
36
|
reducedTransparencyFallbackColor?: WithDefault<string, '#FFFFFF'>;
|
|
35
37
|
ignoreSafeArea?: WithDefault<boolean, true>;
|
|
36
38
|
}
|
|
@@ -3,11 +3,6 @@ import type { ViewProps } from 'react-native';
|
|
|
3
3
|
import type { Double } from 'react-native/Libraries/Types/CodegenTypes';
|
|
4
4
|
|
|
5
5
|
interface NativeProps extends ViewProps {
|
|
6
|
-
/**
|
|
7
|
-
* The spacing value for the glass container effect
|
|
8
|
-
* Platform: iOS only (iOS 26+)
|
|
9
|
-
* @default 0
|
|
10
|
-
*/
|
|
11
6
|
spacing?: Double;
|
|
12
7
|
}
|
|
13
8
|
|
|
@@ -8,46 +8,11 @@ import type {
|
|
|
8
8
|
export type GlassType = 'clear' | 'regular';
|
|
9
9
|
|
|
10
10
|
interface NativeProps extends ViewProps {
|
|
11
|
-
/**
|
|
12
|
-
* The type of glass effect to apply
|
|
13
|
-
* Platform: iOS only
|
|
14
|
-
* @default 'clear'
|
|
15
|
-
*/
|
|
16
11
|
glassType?: WithDefault<GlassType, 'clear'>;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* The tint color of the glass effect
|
|
20
|
-
* Platform: iOS only
|
|
21
|
-
* @default 'clear'
|
|
22
|
-
*/
|
|
23
12
|
glassTintColor?: WithDefault<string, 'clear'>;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* The opacity of the glass effect (0-1)
|
|
27
|
-
* Platform: iOS only
|
|
28
|
-
* @default 1.0
|
|
29
|
-
*/
|
|
30
13
|
glassOpacity?: WithDefault<Double, 1.0>;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Fallback color when reduced transparency is enabled
|
|
34
|
-
* Platform: iOS only
|
|
35
|
-
* @default '#FFFFFF'
|
|
36
|
-
*/
|
|
37
14
|
reducedTransparencyFallbackColor?: WithDefault<string, '#FFFFFF'>;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Whether the glass view should be interactive
|
|
41
|
-
* Platform: iOS only
|
|
42
|
-
* @default true
|
|
43
|
-
*/
|
|
44
15
|
isInteractive?: WithDefault<boolean, true>;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Whether the glass view should ignore safe area insets
|
|
48
|
-
* Platform: iOS only
|
|
49
|
-
* @default true
|
|
50
|
-
*/
|
|
51
16
|
ignoreSafeArea?: WithDefault<boolean, true>;
|
|
52
17
|
}
|
|
53
18
|
|
|
@@ -3,6 +3,7 @@ import type { ViewProps } from 'react-native';
|
|
|
3
3
|
import type {
|
|
4
4
|
WithDefault,
|
|
5
5
|
Double,
|
|
6
|
+
Int32,
|
|
6
7
|
} from 'react-native/Libraries/Types/CodegenTypes';
|
|
7
8
|
|
|
8
9
|
export type BlurType =
|
|
@@ -36,6 +37,7 @@ export type ProgressiveBlurDirection =
|
|
|
36
37
|
interface NativeProps extends ViewProps {
|
|
37
38
|
blurAmount?: WithDefault<Double, 20.0>;
|
|
38
39
|
blurType?: WithDefault<BlurType, 'regular'>;
|
|
40
|
+
blurRounds?: WithDefault<Int32, 5>;
|
|
39
41
|
direction?: WithDefault<ProgressiveBlurDirection, 'blurredTopClearBottom'>;
|
|
40
42
|
startOffset?: WithDefault<Double, 0.0>;
|
|
41
43
|
reducedTransparencyFallbackColor?: WithDefault<string, '#FFFFFF'>;
|