Skip to content

Commit 26942b5

Browse files
authored
fix(modals): use synthetic types for close handler (#425)
1 parent 961b6bf commit 26942b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/modal/src/useModal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* found at http://www.apache.org/licenses/LICENSE-2.0.
66
*/
77

8-
import { useRef, useState } from 'react';
8+
import { useRef, useState, KeyboardEvent, MouseEvent } from 'react';
99
import { useUIDSeed } from 'react-uid';
1010
import { composeEventHandlers, KEY_CODES } from '@zendeskgarden/container-utilities';
1111
import { useFocusJail } from '@zendeskgarden/container-focusjail';

0 commit comments

Comments
 (0)