We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab1cce commit 4f7e343Copy full SHA for 4f7e343
src/Modal/Modal.tsx
@@ -24,7 +24,6 @@ export type ModalProps = {
24
| [ModalProps.ActionAreaButtonProps, ...ModalProps.ActionAreaButtonProps[]]
25
| ModalProps.ActionAreaButtonProps;
26
style?: CSSProperties;
27
- onClose?: () => void;
28
};
29
30
export namespace ModalProps {
@@ -54,7 +53,6 @@ const Modal = memo(
54
53
buttons: buttons_props,
55
size = "medium",
56
style,
57
- onClose,
58
...rest
59
} = props;
60
@@ -78,7 +76,6 @@ const Modal = memo(
78
76
style={style}
79
77
ref={ref}
80
data-fr-concealing-backdrop={concealingBackdrop}
81
- onClose={onClose}
82
>
83
<div className={fr.cx("fr-container", "fr-container--fluid", "fr-container-md")}>
84
<div className={fr.cx("fr-grid-row", "fr-grid-row--center")}>
0 commit comments