chore(preconstruct): inline css via babel config, add themes package

This commit is contained in:
Christopher Möller
2022-07-18 18:12:49 +02:00
parent 1bb32c8eb7
commit b0f362bf60
25 changed files with 1605 additions and 40 deletions
+7
View File
@@ -0,0 +1,7 @@
import '../styles/globals.css'
function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}
export default MyApp
+10
View File
@@ -0,0 +1,10 @@
import ReactFlow from '@react-flow/core';
import '@react-flow/themes/dark';
export default function Home() {
return (
<div style={{ height: '100vh' }}>
<ReactFlow defaultNodes={[]} defaultEdges={[]} />
</div>
);
}