Preview

import { Preview } from '@hanzo/ui/chat'

No examples yet.

Types

export interface PreviewProps extends Omit<ComponentProps<typeof YStack>, 'children'> {
/** A self-contained HTML document. Script in it will not run. */
markup: string
/** Named in the frame's header. Also the frame's accessible name. */
title?: string
/** Viewport height, px. The document scrolls inside it. */
height?: number
}

Exports

Previewtype PreviewProps