.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user