base-context-provider/src/index.tsx

11 lines
236 B
TypeScript
Raw Normal View History

2020-07-14 14:39:07 +07:00
import * as React from 'react'
import styles from './styles.module.css'
interface Props {
text: string
}
export const ExampleComponent = ({ text }: Props) => {
return <div className={styles.test}>Example Component: {text}</div>
}