import styled from 'styled-components/native'; import {SafeAreaView} from 'react-native-safe-area-context'; import {KeyboardAwareScrollView} from 'react-native-keyboard-aware-scroll-view'; 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}; max-height: ${hp(70)}px; border-top-left-radius: ${hp(2)}px; border-top-right-radius: ${hp(2)}px; padding: ${wp(5)}px; position: absolute; bottom: 0; right: 0; left: 0; `; export const Footer = styled.View` flex-direction: row; margin-top: ${hp(2)}px; margin-bottom: ${hp(2)}px; `; export const FooterButton = styled(Button)` flex: 1; `; export const FooterButtonLabelStyle = { fontSize: hp(1.8), }; export const Title = styled.Text` color: #ffffff; font-family: ${FONTS?.MEDIUM}; font-size: ${hp(2)}px; `; export const SubTitle = styled.Text` color: ${THEME?.SECONDARY?.LIGHT}; font-family: ${FONTS?.MEDIUM}; font-size: ${hp(1.8)}px; padding-top: ${hp(1)}px; `; export const Body = styled(KeyboardAwareScrollView)` margin-top: ${hp(3)}px; flex: 1; `; export const Row = styled.View` flex-direction: row; padding-bottom: ${hp(1)}px; `; export const Col = styled.View` flex: 1; margin-left: ${wp(5)}px; `;