14 lines
278 B
TypeScript
14 lines
278 B
TypeScript
interface ButtonProps {
|
|
text: string;
|
|
}
|
|
|
|
const Button = ({ text }: ButtonProps) => {
|
|
return (
|
|
<button className="px-4 py-3 font-mono text-xs sm:text-sm text-white bg-[var(--color-3)] rounded-xl cursor-pointer">
|
|
{text}
|
|
</button>
|
|
);
|
|
};
|
|
|
|
export default Button;
|