1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 21:14:18 +00:00
pds-2021-g2-nest/code/frontend/src/App.js

23 lines
514 B
JavaScript
Raw Normal View History

2021-04-20 22:23:35 +00:00
import {useState} from "react"
import classNames from "classnames"
import Style from "./App.module.css"
2021-04-20 22:35:44 +00:00
import Box from "./components/Box"
2021-04-20 22:09:13 +00:00
2021-04-20 22:07:39 +00:00
2021-04-20 22:23:35 +00:00
export default function App() {
2021-04-20 22:35:44 +00:00
const [theme, ] = useState("theme-dark");
2021-04-20 22:23:35 +00:00
2021-04-20 22:09:13 +00:00
return (
2021-04-20 22:23:35 +00:00
<div className={classNames(Style["app"], theme)}>
2021-04-20 22:35:44 +00:00
<Box direction={"column"}>
<div>
Ciao
</div>
<div>
mondo!
</div>
</Box>
2021-04-20 22:09:13 +00:00
</div>
)
2021-04-20 22:07:39 +00:00
}