@sqlrooms/mosaic / CodeViewToggleButtonProps
Type Alias: CodeViewToggleButtonProps
CodeViewToggleButtonProps =
object
Properties
label?
optionallabel?:string
Accessible label and tooltip text for the button.
selected?
optionalselected?:boolean
Whether the code view is currently selected.
onClick?
optionalonClick?: () =>void
Called when the code view toggle is clicked.
Returns
void
className?
optionalclassName?:string
Additional classes for the button.