components/ui/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 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
Returns:
Type
JSX.Element