Skip to content

Commit

Permalink
fix jsdoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anshgoyalevil committed Mar 13, 2024
1 parent 77936b7 commit 962075d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 962075d

Please sign in to comment.