import styled from 'styled-components/native'; import {heightPercentageToDP as hp} from 'react-native-responsive-screen'; import {onAndroid} from '@helpers/GeneralHelpers'; import FONTS from '@assets/fonts'; export const Container = styled.View` position: absolute; bottom: 0; flex-direction: row; background-color: #000; padding-top: ${hp(1.5)}px; padding-bottom: ${hp(onAndroid() ? 1 : 3)}px; `; export const Tab = styled.TouchableOpacity` flex: 1; align-items: center; justify-content: flex-end; position: relative; `; export const Title = styled.Text<{isFocused: boolean; isScan: boolean}>` color: ${props => props?.isFocused ? (props?.isScan ? '#FFFFFF' : '#2BEAFB') : '#4F58CF'}; font-family: ${FONTS.MEDIUM}; font-size: ${hp(1.3)}px; padding-top: ${hp(1)}px; line-height: ${hp(1.4)}px; background-color: #000; `; export const IconWrapper = styled.View<{isScan: boolean}>` background-color: #000; position: ${props => (props?.isScan ? 'absolute' : 'relative')}; `; export const Highlighter = styled.View` width: 36%; position: absolute; top: -${hp(1.5)}px; height: ${hp(0.3)}px; `;