We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37d8dc6 commit 4e28fa5Copy full SHA for 4e28fa5
2 files changed
packages/types/src/shared/dialog/useDialog.types.ts
@@ -123,7 +123,7 @@ export interface useDialogExposes {
123
/**
124
* Reference to the mask element.
125
*/
126
- maskRef?: React.RefObject<{ elementRef: React.RefObject<HTMLDivElement> } | null>;
+ maskRef?: React.RefObject<HTMLDivElement | null>;
127
128
* Reference to the close button element.
129
packages/types/src/shared/drawer/useDrawer.types.ts
@@ -89,7 +89,7 @@ export interface useDrawerExposes {
89
90
91
92
93
94
* Reference to the motion element.
95
0 commit comments