interface TabProps {
  value: string;
  onClick: () => void;
  className?: string;
}

const Tab = ({ value, onClick, className }: TabProps): JSX.Element => {
  return (
    <button onClick={onClick} className={`${className}`}>
      {value}
    </button>
  );
};

export default Tab;
