import { Button, ButtonProps, Modal, ModalProps } from 'antd'; import React, { useState } from 'react'; interface ModalButtonProps { buttonProps: Omit; modalProps: Omit; } export const ModalButton: React.FC = React.memo((props) => { const [isOpen, setIsOpen] = useState(false); return ( <>