Closed hyochan closed 3 weeks ago
Risk Level 2 - /home/runner/work/react-native-audio-recorder-player/react-native-audio-recorder-player/Example/components/uis/Button.tsx
The addition of the 'onPress' prop to the TouchableOpacity component is generally safe but requires careful handling to avoid potential issues.
private static defaultProps: Partial<ItemProps> = {
isLoading: false,
isDisabled: false,
style: styles.btn,
textStyle: styles.txt,
imgLeftStyle: styles.imgLeft,
indicatorColor: 'white',
activeOpacity: 0.5,
onPress: () => {},
};
🛠️🔍✅
https://www.youtube.com/watch?v=sZoh0aLXq5g&list=PL9_jwgDt7c4lzyqj71w8wstuO35ZubsdF