From 962075dcffab6e60c804fe4d2b43996a8d1a7d74 Mon Sep 17 00:00:00 2001 From: Ansh Goyal Date: Wed, 13 Mar 2024 23:24:38 +0530 Subject: [PATCH] fix jsdoc comments --- components/Modal.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/Modal.tsx b/components/Modal.tsx index 9c20971fc7e..396c5daa48d 100644 --- a/components/Modal.tsx +++ b/components/Modal.tsx @@ -8,7 +8,9 @@ interface IModalProps { /** * @description Modal component. - * @param {ModalProps} props - The props for the Modal component. + * @param {string} props.title - The title of the modal. + * @param {React.ReactNode} props.children - The content of the modal. + * @param {function} props.onModalClose=()=>{} - Function to handle modal close event. */ export default function Modal({ title,