diff options
Diffstat (limited to 'frontend/src/components/main.js')
| -rw-r--r-- | frontend/src/components/main.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/frontend/src/components/main.js b/frontend/src/components/main.js new file mode 100644 index 0000000..18b0f5a --- /dev/null +++ b/frontend/src/components/main.js | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | import React from 'react'; | ||
| 2 | |||
| 3 | import "../App.css" | ||
| 4 | import "./main.css"; | ||
| 5 | |||
| 6 | export default function Main(props) { | ||
| 7 | |||
| 8 | |||
| 9 | return ( | ||
| 10 | <main> | ||
| 11 | <h1>{props.text}</h1> | ||
| 12 | </main> | ||
| 13 | ) | ||
| 14 | } | ||
| 15 | |||
| 16 | |||