init create-react-library@2.6.7

This commit is contained in:
2020-01-14 11:30:57 +05:30
commit d66d89afd5
21 changed files with 21198 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
/**
* @class ExampleComponent
*/
import * as React from 'react'
import styles from './styles.css'
export type Props = { text: string }
export default class ExampleComponent extends React.Component<Props> {
render() {
const {
text
} = this.props
return (
<div className={styles.test}>
Example Component: {text}
</div>
)
}
}