Created
September 30, 2018 12:43
-
-
Save Joe1220/181e0c89bcc251685d899780c7bd754f 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 React from 'react' | |
| interface IProps { | |
| name: string | |
| email: string | |
| } | |
| interface IState { | |
| age: number | |
| } | |
| export default class TestComponent extends React.Component<IProps, {}> { | |
| constructor(props: IProps) { | |
| super(props) | |
| } | |
| private render() { | |
| return ( | |
| <div> | |
| test | |
| </div> | |
| ) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment