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