Created
August 1, 2020 14:39
-
-
Save ozantunca/4820fa9dc7dce6ddab61a87ca2d28dcc 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
interface WelcomeProps { | |
name: string; | |
children: React.ReactNode; | |
} | |
function Welcome(props: WelcomeProps) { | |
return <h1>Hello, {props.name}</h1>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment