Last active
February 9, 2018 05:57
-
-
Save jrwebdev/9e6df53ec1cdb9d47a9d9a91f5324a09 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 * as React from 'react'; | |
| interface HelloProps { | |
| style?: React.CSSProperties; | |
| name: string; | |
| } | |
| const Hello = ({ style, name }: HelloProps) => ( | |
| <div style={style}>Hello, {name}!</div> | |
| ); | |
| export default Hello; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment