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
|
|
|
}
|