Skip to content

Commit 4e28fa5

Browse files
fix: type check
1 parent 37d8dc6 commit 4e28fa5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/types/src/shared/dialog/useDialog.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export interface useDialogExposes {
123123
/**
124124
* Reference to the mask element.
125125
*/
126-
maskRef?: React.RefObject<{ elementRef: React.RefObject<HTMLDivElement> } | null>;
126+
maskRef?: React.RefObject<HTMLDivElement | null>;
127127
/**
128128
* Reference to the close button element.
129129
*/

packages/types/src/shared/drawer/useDrawer.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export interface useDrawerExposes {
8989
/**
9090
* Reference to the mask element.
9191
*/
92-
maskRef?: React.RefObject<{ elementRef: React.RefObject<HTMLDivElement> } | null>;
92+
maskRef?: React.RefObject<HTMLDivElement | null>;
9393
/**
9494
* Reference to the motion element.
9595
*/

0 commit comments

Comments
 (0)