import styled from 'styled-components/native'; import {SafeAreaView} from 'react-native-safe-area-context'; import { heightPercentageToDP as hp, widthPercentageToDP as wp, } from 'react-native-responsive-screen'; import Button from '@components/Button'; import THEME from '@styles/theme'; import FONTS from '@assets/fonts'; export const Overlay = styled.TouchableOpacity` position: absolute; flex: 1; justify-content: flex-end; top: 0; bottom: 0; right: 0; left: 0; background-color: rgba(0, 0, 0, 0.88); height: 100%; `; export const Wrapper = styled(SafeAreaView)` background-color: ${THEME?.PRIMARY?.MAIN}; height: ${hp(45)}px; border-top-left-radius: ${hp(2)}px; border-top-right-radius: ${hp(2)}px; justify-content: center; align-items: center; position: absolute; bottom: 0; right: 0; left: 0; `; export const Description = styled.Text` color: #ffffff; font-family: ${FONTS.MEDIUM}; font-size: ${hp(3)}px; width: ${wp(90)}px; text-align: center; padding-top: ${hp(4)}px; `; export const ButtonWrapper = styled.View` width: 100%; flex-direction: row; justify-content: space-evenly; padding-top: ${hp(5)}px; `; export const SubTitle = styled.Text` color: #ffffff; font-family: ${FONTS.REGULAR}; font-size: ${hp(2)}px; width: ${wp(90)}px; text-align: center; padding-top: ${hp(3)}px; `; export const CloseButton = styled(Button)` flex: 0.35; `; export const RetryButton = styled(Button)` flex: 0.35; `;