Skip to content

@sqlrooms/mosaic / CodeViewToggleButtonProps

Type Alias: CodeViewToggleButtonProps ​

CodeViewToggleButtonProps = object

Properties ​

label? ​

optional label?: string

Accessible label and tooltip text for the button.


selected? ​

optional selected?: boolean

Whether the code view is currently selected.


onClick? ​

optional onClick?: () => void

Called when the code view toggle is clicked.

Returns ​

void


className? ​

optional className?: string

Additional classes for the button.