fix for production build

This commit was merged in pull request #18.
This commit is contained in:
Ebube
2024-03-18 12:31:17 +01:00
parent 37c012461f
commit f7ef9ff3a0
12 changed files with 204 additions and 174 deletions
+8 -6
View File
@@ -1,10 +1,12 @@
import { FC } from "react";
type ButtonProps = {
className?: string;
text: string;
};
import React from "react";
const Button = ({ text, className }: ButtonProps): FC => {
interface ButtonProps {
text: string;
className?: string;
onClick?: () => void;
}
const Button: React.FC<ButtonProps> = ({ text, className }) => {
return (
<button
className={`btn-primary uppercase text-[11px] lg:text-[13px] p-[6px] lg:px-[10px] ${className}`}