Update web build and web-specific components; RNW now builds
This commit is contained in:
parent
7e3f6f0306
commit
d6ec627c8c
10 changed files with 300 additions and 157 deletions
|
@ -6,7 +6,7 @@ import {
|
|||
View,
|
||||
} from 'react-native'
|
||||
import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
|
||||
import {BlurView} from '@react-native-community/blur'
|
||||
import {BlurView} from '../util/BlurView'
|
||||
import LinearGradient from 'react-native-linear-gradient'
|
||||
import {AutoSizedImage} from '../util/images/AutoSizedImage'
|
||||
import {Text} from '../util/text/Text'
|
||||
|
|
|
@ -12,7 +12,7 @@ import {
|
|||
FontAwesomeIcon,
|
||||
FontAwesomeIconStyle,
|
||||
} from '@fortawesome/react-native-fontawesome'
|
||||
import {BlurView} from '@react-native-community/blur'
|
||||
import {BlurView} from '../util/BlurView'
|
||||
import {ProfileViewModel} from '../../../state/models/profile-view'
|
||||
import {useStores} from '../../../state'
|
||||
import {
|
||||
|
|
1
src/view/com/util/BlurView.tsx
Normal file
1
src/view/com/util/BlurView.tsx
Normal file
|
@ -0,0 +1 @@
|
|||
export {BlurView} from '@react-native-community/blur'
|
4
src/view/com/util/BlurView.web.tsx
Normal file
4
src/view/com/util/BlurView.web.tsx
Normal file
|
@ -0,0 +1,4 @@
|
|||
import {View} from 'react-native'
|
||||
|
||||
// TODO can actually support this, see https://github.com/Kureev/react-native-blur/issues/417
|
||||
export const BlurBiew = View
|
Loading…
Add table
Add a link
Reference in a new issue