fix: export then add test case (#7024)

This commit is contained in:
pengx17
2024-05-24 04:49:07 +00:00
parent 7c2f60c441
commit 5e1528b50b
4 changed files with 20 additions and 41 deletions

View File

@@ -89,6 +89,7 @@ export const Modal = forwardRef<HTMLDivElement, ModalProps>(
className={styles.closeButton}
aria-label="Close"
type="plain"
data-testid="modal-close-button"
{...closeButtonOptions}
>
<CloseIcon />