diff options
author | Hailey <me@haileyok.com> | 2024-04-04 18:30:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 18:30:32 -0700 |
commit | 101d1589bfdc12e38284b546e57a8ec5f0ee140d (patch) | |
tree | d94f2d2303d4aad73538f614411a7b61f98e21a1 /src/view/com/util/BlurView.android.tsx | |
parent | 93b606e55a7bb10cc77665c68c75b6b13a673c9f (diff) | |
download | voidsky-101d1589bfdc12e38284b546e57a8ec5f0ee140d.tar.zst |
Bump some Expo package, remove unused packages to prepare for migration (#3415)
* bump some package versions * remove completely unused packages * remove blurview * update yarn.lock
Diffstat (limited to 'src/view/com/util/BlurView.android.tsx')
-rw-r--r-- | src/view/com/util/BlurView.android.tsx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/view/com/util/BlurView.android.tsx b/src/view/com/util/BlurView.android.tsx deleted file mode 100644 index eee1d9d86..000000000 --- a/src/view/com/util/BlurView.android.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import React from 'react' -import {StyleSheet, View, ViewProps} from 'react-native' -import {addStyle} from 'lib/styles' - -type BlurViewProps = ViewProps & { - blurType?: 'dark' | 'light' - blurAmount?: number -} - -export const BlurView = ({ - style, - blurType, - ...props -}: React.PropsWithChildren<BlurViewProps>) => { - if (blurType === 'dark') { - style = addStyle(style, styles.dark) - } else { - style = addStyle(style, styles.light) - } - return <View style={style} {...props} /> -} - -const styles = StyleSheet.create({ - dark: { - backgroundColor: '#0008', - }, - light: { - backgroundColor: '#fff8', - }, -}) |