MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / KeypadButton

Function KeypadButton

app/components/Base/Keypad/components.js:65–74  ·  view source on GitHub ↗
({ style, textStyle, children, ...props })

Source from the content-addressed store, hash-verified

63 return <View style={styles.keypadRow} {...props} />;
64};
65const 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
76KeypadButton.propTypes = {
77 children: PropTypes.node,

Callers

nothing calls this directly

Calls 2

useThemeFunction · 0.90
createStylesFunction · 0.70

Tested by

no test coverage detected