import { Button } from "antd" type propsType = { type?: "primary" | "default" | "dashed" | "link" | "text" | undefined, htmlType?: "submit" | "button" | "reset" | undefined, onClick?: any, label?: React.ReactNode, className?: string, sx?: any, icon?: any, loading?: boolean, disabled?: boolean, } export default function BAButton(props: propsType) { const { htmlType, onClick, label, loading, icon, disabled, type } = props; return <> }