Last active
May 12, 2019 01:53
-
-
Save yoneda/c820f9ff180df50a2408712ef18d8a18 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 * as React from "react"; | |
export interface Props { | |
text: string; | |
} | |
const Test: React.FC<Props> = ({ text }:Props) => { | |
return( | |
<div>{text}</div> | |
) | |
} | |
export default Test; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment