import { Button } from "antd"; import { ButtonHTMLType } from "antd/lib/button/button"; import { CSSProperties } from "react"; interface IAddButtonProps { children: string | JSX.Element; className?: string; onClick?: () => void; loading?: boolean; disabled?: boolean; style?: CSSProperties; type?: ButtonHTMLType; } export default function AddButton({ children, className = "", onClick, loading, disabled, type, }: IAddButtonProps) { return ( ); }