chore(preconstruct): inline css via babel config, add themes package
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
import '../styles/globals.css'
|
||||
|
||||
function MyApp({ Component, pageProps }) {
|
||||
return <Component {...pageProps} />
|
||||
}
|
||||
|
||||
export default MyApp
|
||||
Executable
+10
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user