feat(shared): PanZoomPattern component
This commit is contained in:
parent
b829883674
commit
eef8d68781
7 changed files with 71 additions and 152 deletions
|
@ -1,4 +1,4 @@
|
|||
import { Pattern as ReactPattern } from 'pkgs/react-components/src/pattern/index.mjs'
|
||||
import { PanZoomPattern as ReactPattern } from 'shared/components/workbench/pan-zoom-pattern.mjs'
|
||||
import { DraftMenu, ns as menuNs } from './menu.mjs'
|
||||
|
||||
export const ns = menuNs
|
||||
|
@ -25,9 +25,6 @@ export const DraftView = ({
|
|||
}
|
||||
} else output = <ReactPattern renderProps={pattern.getRenderProps()} />
|
||||
|
||||
console.log(pattern.getRenderProps())
|
||||
return <pre>{JSON.stringify(pattern.getRenderProps(), null, 2)}</pre>
|
||||
|
||||
return (
|
||||
<div className="flex flex-row">
|
||||
<div className="w-2/3 shrink-0 grow lg:p-4 sticky top-0">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue