kamrify's picture
Update design
7d64866
raw
history blame
424 Bytes
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>
);
}