Skip to content

ShowCodeBlockBuilderParams.onUpdatePreview?

ShowCodeBlockBuilderParams › onUpdatePreview?

Type: (params: CodeBlockBuilderPreviewParams) => void

Draws a live preview of the code block. Called once when the modal opens and again after every change.