Skip to content

Commit

Permalink
fix: added missing arguments type for 'onRequestClose' method in Moda…
Browse files Browse the repository at this point in the history
…l.d.ts
  • Loading branch information
Luca Baffico committed Sep 2, 2022
1 parent 65aeb48 commit 379d4c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/Modal/Modal.d.ts
Expand Up @@ -25,7 +25,7 @@ declare namespace Modal {
inPortal?: boolean;
wide?: boolean;
modalFooter?: () => void;
onRequestClose?: () => void;
onRequestClose?: (evt: any, trigger: string) => void;
onRequestSubmit?: () => void;
iconDescription?: string;
className?: string;
Expand All @@ -35,5 +35,5 @@ declare namespace Modal {
}
}

declare class Modal extends React.Component<Modal.ModalProps> {}
declare class Modal extends React.Component<Modal.ModalProps> { }
export = Modal;

0 comments on commit 379d4c5

Please sign in to comment.