import MaskedView from '@react-native-community/masked-view'; import React from 'react'; import {StyleSheet, Text, View} from 'react-native'; import {TouchableOpacity} from 'react-native-gesture-handler'; import LinearGradient from 'react-native-linear-gradient'; import {TAGG_LIGHT_BLUE_2, TAGG_PURPLE} from '../../constants'; import {normalize, SCREEN_WIDTH} from '../../utils'; interface GradientBorderButtonProps { text: string; darkStyle: boolean; onPress: () => void; } const GradientBorderButton: React.FC = ({ text, darkStyle, onPress, }) => { const labelColor = darkStyle ? 'white' : '#828282'; const borderWidth = darkStyle ? 2 : 1; return ( }> {text} ); }; const styles = StyleSheet.create({ container: { marginVertical: 10, }, gradientContainer: { width: SCREEN_WIDTH / 2 - 40, height: 43, }, label: { fontWeight: '500', fontSize: normalize(14), textAlign: 'center', }, maskBorder: { borderRadius: 20, }, textContainer: { position: 'absolute', width: SCREEN_WIDTH / 2 - 40, height: 43, justifyContent: 'center', alignItems: 'center', }, }); export default GradientBorderButton;