Skip to content

Instantly share code, notes, and snippets.

@Joe1220
Created September 30, 2018 12:43
Show Gist options
  • Select an option

  • Save Joe1220/181e0c89bcc251685d899780c7bd754f to your computer and use it in GitHub Desktop.

Select an option

Save Joe1220/181e0c89bcc251685d899780c7bd754f to your computer and use it in GitHub Desktop.
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