File size: 424 Bytes
7660c1f
 
 
 
 
 
 
 
 
 
 
7d64866
7660c1f
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
type ExampleButtonProps = {
  onClick: () => void;
  text: string;
};

export function ExampleButton(props: ExampleButtonProps) {
  const { onClick, text } = props;

  return (
    <button
      onClick={onClick}
      className="bg-transparent rounded-xl py-2 px-4 font-medium text-black border-2 border-black text-lg hover:bg-yellow-300 hover:text-black transition-colors duration-100">
      { text }
    </button>
  );
}