import React from 'react'; import { StyleSheet, Text, TouchableOpacity } from 'react-native'; import { useTheme } from './themes'; interface HeaderRightButtonProps { disabled?: boolean; onPress?: () => void; title: string; testID?: string; } const HeaderRightButton: React.FC = ({ disabled = true, onPress, title, testID }) => { const { colors } = useTheme(); const opacity = disabled ? 0.5 : 1; return ( {title} ); }; const styles = StyleSheet.create({ save: { alignItems: 'center', justifyContent: 'center', width: 80, borderRadius: 8, height: 34, }, saveText: { fontSize: 15, fontWeight: '600', }, }); export default HeaderRightButton;