Skip to content

Commit 77df96e

Browse files
authored
Add type arguments to ModalProps.
1 parent 59d63cc commit 77df96e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/DefaultComponents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const Overlay: React.FC = () => {
3030
return <div style={overlayStyle} />;
3131
};
3232

33-
const Modal: React.FC<ModalProps> = ({ children }) => {
33+
const Modal: React.FC<ModalProps<{}>> = ({ children }) => {
3434
return <Fragment>{children}</Fragment>;
3535
};
3636

0 commit comments

Comments
 (0)