Last active
April 21, 2022 09:45
-
-
Save callstack-bot/2f405f2e9ed05191097149a28966ce4f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Text } from './component-library'; | |
const MyButton = ({ children, onPress, subtext }) => ( | |
<div onClick={onPress}> | |
<Text>{children}</Text> | |
<span>{subtext}</span> | |
</div> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment