Button
A subclass of React.Component.
props Readonly<ButtonProps> intersected with Readonly<{ children?: ReactNode; }>
The props of the Button component.
element HTMLButtonElement | null
Gets the DOM element of the Button component.
selected boolean
Returns true
when the component is togglable and selected (see example).
Otherwise, returns false
.