This commit is contained in:
Ebube
2024-03-17 20:04:31 +01:00
parent bacfa1b404
commit 38becd42ac
6 changed files with 116 additions and 10 deletions
+9 -3
View File
@@ -1,11 +1,17 @@
import { FC } from "react";
type ButtonProps = {
className?: string;
text: string;
};
const Button = ({ text, className }: ButtonProps) => {
return <button className={`btn-primary uppercase text-[11px] lg:text-[13px] p-[6px] lg:px-[10px] ${className}`}>{text}</button>;
const Button = ({ text, className }: ButtonProps): FC => {
return (
<button
className={`btn-primary uppercase text-[11px] lg:text-[13px] p-[6px] lg:px-[10px] ${className}`}
>
{text}
</button>
);
};
export default Button;