({ style, textStyle, children, ...props })
| 63 | return <View style={styles.keypadRow} {...props} />; |
| 64 | }; |
| 65 | const KeypadButton = ({ style, textStyle, children, ...props }) => { |
| 66 | const { colors } = useTheme(); |
| 67 | const styles = createStyles(colors); |
| 68 | |
| 69 | return ( |
| 70 | <TouchableOpacity style={[styles.keypadButton, style]} {...props}> |
| 71 | <Text style={[styles.keypadButtonText, textStyle]}>{children}</Text> |
| 72 | </TouchableOpacity> |
| 73 | ); |
| 74 | }; |
| 75 | |
| 76 | KeypadButton.propTypes = { |
| 77 | children: PropTypes.node, |
nothing calls this directly
no test coverage detected