Skip to main content



Method nameParams (with data type)Use
addButtonbutton: ButtonPropAdds a button with the given config to the control bar at the bottom and returns the index number of the newly added button
removeButtonbutton: numberRemoves the button with given index number from the bottom control bar


Property nameData typeUse
iconReactNode | HTMLElementThe icon to show on the button
labelstringThe text label to show on the button
positionstringPosition of the button with respect to the button groups on the control bar - left, center and right (the button is always added to the end of chosen section)
onClickFunctionYour handler for the click of this button