Kvaser CanKing GUI Extensions SDK v7.6.1
Kvaser CanKing GUI Extensions SDK / controls / DropdownButtonProps
Interface: DropdownButtonProps
Properties of the DropdownButton React component.
Properties
children
children:
ReactElement<DropdownButtonChildrenProps>
The drop down items that will be displayed when the user clicks on this button.
color?
optionalcolor?:"inherit"|"primary"|"secondary"|"success"|"error"|"info"|"warning"
Button color.
disabled?
optionaldisabled?:boolean
Set to true to disable this button.
endIcon?
optionalendIcon?:ReactNode
An end icon displayed inside the button.
fullWidth?
optionalfullWidth?:boolean
Set to true to make the button stretch to the container width.
id?
optionalid?:string
The component id.
size?
optionalsize?:"small"|"medium"|"large"
Button size.
startIcon?
optionalstartIcon?:ReactNode
A start icon displayed inside the button.
text?
optionaltext?:string
The text to be displayed inside the button.
variant?
optionalvariant?:"text"|"outlined"|"contained"
Button variant.