diff options
| author | Nidboj132 <lol2s@vp.plm> | 2023-04-29 13:00:05 +0200 |
|---|---|---|
| committer | Nidboj132 <lol2s@vp.plm> | 2023-04-29 13:00:05 +0200 |
| commit | da7c988469ce2c3e17173f72416808ddb355d224 (patch) | |
| tree | c39842b00587c003b567f76eda9a20a6069d3ab9 /frontend/src/components/main.js | |
| parent | doc: added tags (diff) | |
| download | lphub-da7c988469ce2c3e17173f72416808ddb355d224.tar.gz lphub-da7c988469ce2c3e17173f72416808ddb355d224.tar.bz2 lphub-da7c988469ce2c3e17173f72416808ddb355d224.zip | |
ui update
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 | |||