UnlinkProps
The props for the Unlink tool component of the Editor.
disabled?
boolean
Specifies if the Button is disabled (see example). Defaults to false
.
icon?
string
Defines the name for an existing icon in a KendoReact theme (see example). The icon is rendered inside the Button by a span.k-icon
element.
iconClass?
string
Defines a CSS class—or multiple classes separated by spaces—which are applied to a span
element inside the Button (see example). Allows the usage of custom icons.
imageAlt?
string
Defines the alternative text of the image rendered inside the Button component.
imageUrl?
string
Defines a URL which is used as an img
element inside the Button (see example). The URL can be relative or absolute. If relative, it is evaluated with relation to the URL of the web page.
look?
ButtonLook | "clear"
Changes the visual appearance by using alternative styling options (more information and examples).
The available values are:
ButtonLook
=flat
|outline
clear
primary?
boolean
Adds visual weight to the Button and makes it primary (see example).
render?
(tool: ReactElement<any>, args?: any) => React.ReactNode
Fires when a tool is about to be rendered. Used to override the default appearance of the tool.
selected?
boolean
Sets the selected state of the Button. Can be used for controlled state.
togglable?
boolean
Provides visual styling that indicates if the Button is selected (see example). Defaults to false
.
view?
EditorView
The EditorView
object of the Editor component.