<CustomButton
onPress={async () => {
await uploadFile();
}}
showIndicator
backgroundColor="#1d4ed8"
selectedBackgroundColor="#1e40af"
pressedBackgroundColor="#1e3a8a"
textColor="#dbeafe"
focusedTextColor="#ffffff"
style={{ paddingHorizontal: 20, paddingVertical: 14, borderRadius: 12 }}
>
{({ currentTextColor }) => (
<View style={{ flexDirection: 'row', alignItems: 'center', gap: 8 }}>
<Text style={{ color: currentTextColor }}>Upload</Text>
<Text style={{ color: currentTextColor }}>⬆️</Text>
</View>
)}
</CustomButton>