Created
September 30, 2018 08:55
-
-
Save Joe1220/63f09cf74c9aa3340e5b9d2fb5c4de0e 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 | |
| } | |
| @observer | |
| export default class TestComponent extends React.Component<IProps, {}> { | |
| constructor(props: any) { | |
| 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