import React from 'react'; import {StyleProp, StyleSheet, Text, View, ViewStyle} from 'react-native'; import {TAGG_LIGHT_BLUE} from '../../constants'; import {TouchableOpacity} from 'react-native-gesture-handler'; import {normalize} from '../../utils'; interface BasicButtonProps { title: string; onPress: () => void; solid?: boolean; externalStyles?: Record>; } const BasicButton: React.FC = ({ title, onPress, solid, externalStyles, }) => { return ( {title} ); }; const styles = StyleSheet.create({ container: { height: '100%', flexDirection: 'column', justifyContent: 'space-around', }, genericButtonStyle: { justifyContent: 'center', alignItems: 'center', borderRadius: 2, padding: 0, width: '100%', height: '100%', }, solidButton: { padding: 0, backgroundColor: TAGG_LIGHT_BLUE, }, outlineButton: { borderWidth: 1, backgroundColor: 'white', borderColor: TAGG_LIGHT_BLUE, }, solidButtonTitleColor: { color: 'white', }, outlineButtonTitleColor: { color: TAGG_LIGHT_BLUE, }, buttonTitle: { fontSize: normalize(15), fontWeight: '700', letterSpacing: 1, }, }); export default BasicButton;