components/ui/selectableButton/SelectableButton

SelectableButton is a reusable button that highlights itself when selected.
Description:
  • SelectableButton is a reusable button that highlights itself when selected.
Source:
Parameters:
Name Type Description
props Object
Properties
Name Type Attributes Default Description
label string | number Text to display inside the button
isSelected boolean Whether the button is currently selected
onClick function Callback when the button is clicked
className string <optional>
"" Additional CSS classes
disabled boolean <optional>
false Disable button interaction
Returns:
Type
JSX.Element