Skip to content

Commit 2fcdb8f

Browse files
committed
docs: update JSDoc comments
1 parent 1deb041 commit 2fcdb8f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/modal/CModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface CModalProps extends HTMLAttributes<HTMLDivElement> {
4545
*/
4646
keyboard?: boolean
4747
/**
48-
* Method called before the dissmiss animation has started.
48+
* Callback fired when the component requests to be closed.
4949
*/
5050
onClose?: () => void
5151
/**

src/components/offcanvas/COffcanvas.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface COffcanvasProps extends HTMLAttributes<HTMLDivElement> {
2121
*/
2222
keyboard?: boolean
2323
/**
24-
* Method called before the dissmiss animation has started.
24+
* Callback fired when the component requests to be closed.
2525
*/
2626
onClose?: () => void
2727
/**

src/components/toast/CToast.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface CToastProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title
4848
*/
4949
visible?: boolean
5050
/**
51-
* Method called before the dissmiss animation has started.
51+
* Callback fired when the component requests to be closed.
5252
*/
5353
onClose?: (index: number | null) => void
5454
}

0 commit comments

Comments
 (0)