()
| 9 | const PreviewNodeId = "preview-web-node"; |
| 10 | |
| 11 | export function WebPreview() { |
| 12 | const nodeModel = React.useMemo( |
| 13 | () => makeMockNodeModel({ nodeId: PreviewNodeId, blockId: WebBlockId, innerRect: { width: "1040px", height: "620px" } }), |
| 14 | [] |
| 15 | ); |
| 16 | |
| 17 | return ( |
| 18 | <div className="flex w-full max-w-[1100px] flex-col gap-2 px-6 py-6"> |
| 19 | <div className="text-xs text-muted font-mono">full web block using preview mock fallback</div> |
| 20 | <div className="rounded-md border border-border bg-panel p-4"> |
| 21 | <div className="h-[680px]"> |
| 22 | <Block preview={false} nodeModel={nodeModel} /> |
| 23 | </div> |
| 24 | </div> |
| 25 | </div> |
| 26 | ); |
| 27 | } |
nothing calls this directly
no test coverage detected