()
| 8 | import { Preview } from "./components/Preivew"; |
| 9 | |
| 10 | export default function ReactPlayground() { |
| 11 | const { mode } = useComponetsStore(); |
| 12 | |
| 13 | return <div className='h-[100vh] flex flex-col'> |
| 14 | <div className='h-[60px] flex items-center border-b-[1px] border-[#000]'> |
| 15 | <Header /> |
| 16 | </div> |
| 17 | { |
| 18 | mode === 'edit' |
| 19 | ? <Allotment> |
| 20 | <Allotment.Pane preferredSize={240} maxSize={400} minSize={200}> |
| 21 | <MaterialWrapper /> |
| 22 | </Allotment.Pane> |
| 23 | <Allotment.Pane> |
| 24 | <EditArea /> |
| 25 | </Allotment.Pane> |
| 26 | <Allotment.Pane preferredSize={300} maxSize={500} minSize={300}> |
| 27 | <Setting /> |
| 28 | </Allotment.Pane> |
| 29 | </Allotment> |
| 30 | : <Preview/> |
| 31 | } |
| 32 | </div> |
| 33 | } |
nothing calls this directly
no outgoing calls
no test coverage detected