import React, {useCallback} from 'react' import {StyleSheet, View} from 'react-native' import {usePalette} from 'lib/hooks/usePalette' import {gradients, s} from 'lib/styles' import {Text} from '../util/text/Text' import {TouchableOpacity} from 'react-native-gesture-handler' import LinearGradient from 'react-native-linear-gradient' import {useStores} from 'state/index' import {isDesktopWeb} from 'platform/detection' export const snapPoints = ['70%'] interface Props { altText: string } export function Component({altText}: Props) { const pal = usePalette('default') const store = useStores() const onPress = useCallback(() => { store.shell.closeModal() }, [store]) return ( Image description {altText} Done ) } const styles = StyleSheet.create({ container: { gap: 18, paddingVertical: isDesktopWeb ? 0 : 18, paddingHorizontal: isDesktopWeb ? 0 : 12, height: '100%', width: '100%', }, title: { textAlign: 'center', fontWeight: 'bold', fontSize: 24, }, text: { borderRadius: 5, marginVertical: 18, paddingHorizontal: 18, paddingVertical: 16, }, button: { flexDirection: 'row', alignItems: 'center', justifyContent: 'center', width: '100%', borderRadius: 32, padding: 10, }, })