fix for production build
This commit was merged in pull request #18.
This commit is contained in:
@@ -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}`}
|
||||
|
||||
Reference in New Issue
Block a user