Make onClose required in Modal
This commit is contained in:
parent
509fd65156
commit
51572b5787
3 changed files with 12 additions and 3 deletions
|
|
@ -43,7 +43,7 @@ export interface ModalProps extends OverlayProps, AriaDialogProps {
|
|||
children: ReactNode;
|
||||
className?: string;
|
||||
mobileFullScreen?: boolean;
|
||||
onClose?: () => void;
|
||||
onClose: () => void;
|
||||
}
|
||||
|
||||
export function Modal({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue