Add ide scaffold or ideas

related to #218
This commit is contained in:
Kurt Hutten
2021-03-04 21:46:40 +11:00
parent 2c1df8a5e5
commit 6097866034
8 changed files with 204 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { useContext } from 'react'
import { IdeContext } from 'src/components/IdeToolbarNew'
const IdeViewer = () => {
const { state } = useContext(IdeContext)
return (
<div className="p-8 border-2 m-2">
<div className="pb-4">hi I'm viewer</div>
<div>
I should be showing an{' '}
<span className="font-mono uppercase">{state.objectData?.type}</span>{' '}
right now
</div>
</div>
)
}
export default IdeViewer