1
0
Fork 0

Merge pull request #37 from transitive-bullshit/feature/typescript-support-v2

add typescript support v2
This commit is contained in:
Travis Fischer 2018-07-11 12:27:58 -04:00 committed by Joost De Cock
parent faba0e5f9e
commit c0769c2743
45 changed files with 2544 additions and 6662 deletions

View file

@ -0,0 +1,22 @@
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import styles from './styles.css'
export default class ExampleComponent extends Component {
static propTypes = {
text: PropTypes.string
}
render() {
const {
text
} = this.props
return (
<div className={styles.test}>
Example Component: {text}
</div>
)
}
}