Skip to content

@sqlrooms/mosaic / MosaicCodeViewerPanelProps

Type Alias: MosaicCodeViewerPanelProps ​

MosaicCodeViewerPanelProps = object

Properties ​

value ​

value: string

Serialized code to display and copy.


copyTooltipLabel? ​

optional copyTooltipLabel?: string

Tooltip text for the copy button.


enableSchemaValidation? ​

optional enableSchemaValidation?: boolean

Whether to enable Mosaic spec schema validation in the editor.


className? ​

optional className?: string

Additional classes for the scroll area.


editorClassName? ​

optional editorClassName?: string

Additional classes for the CodeMirror editor.