className | String | Specify additional styles if necessary |
onClick | Function | Handling click events. |
leftElement | Node | Add the desired element on the left by adding React.Fragment (<> ... </>) and content |
rightElement | Node | Add the desired element on the right by adding React.Fragment (<> ... </>) and content |
children | Node | Set the displayed text on the button. |
data | Node | Set the displayed text on the button. |