feat(wip): html and elements state
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { useState } from 'react';
|
||||
import Topbar from "./components/Topbar";
|
||||
import Sidebar from "./components/Sidebar";
|
||||
import WebPreview from "./components/WebPreview";
|
||||
@@ -5,6 +6,9 @@ import { ConfigProvider } from 'antd';
|
||||
import { BrowserRouter } from 'react-router-dom'
|
||||
|
||||
const App = () => (
|
||||
const [html, setHtml] = useState(null);
|
||||
const [elements, setElements] = useState([])
|
||||
|
||||
<ConfigProvider
|
||||
theme={{
|
||||
token: {
|
||||
|
||||
Reference in New Issue
Block a user