diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-05-01 13:08:40 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-05-01 13:08:40 +0300 |
| commit | 8aebbb3de3982f0026a9afa9e94f16f6c3710eea (patch) | |
| tree | 196a368c011f850c93c3cb9827d204eb86fbc368 /frontend/src/components/main.js | |
| parent | search endpoint init, fetch all data (#40) (diff) | |
| parent | Merge pull request #39 from Nidboj132/main (diff) | |
| download | lphub-8aebbb3de3982f0026a9afa9e94f16f6c3710eea.tar.gz lphub-8aebbb3de3982f0026a9afa9e94f16f6c3710eea.tar.bz2 lphub-8aebbb3de3982f0026a9afa9e94f16f6c3710eea.zip | |
Merge branch 'main' of https://github.com/pektezol/LeastPortals
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 | |||