Skip to content

Commit d8bfbb9

Browse files
feat(hooks): export useDisclosure types
1 parent 81b8e0c commit d8bfbb9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/hooks/chakra-hooks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
export type { UseDisclosureProps, UseDisclosureReturn } from '@chakra-ui/react';
12
export { useDisclosure, useToken } from '@chakra-ui/react';

lib/hooks/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
export type { UseDisclosureProps, UseDisclosureReturn } from './chakra-hooks';
12
export { useDisclosure, useToken } from './chakra-hooks';
23
export { useGlobalMenuClose } from './use-global-menu-close';
34
export { useGlobalModifiersImperativeAPI, useGlobalModifiersInit } from './use-global-modifiers';

0 commit comments

Comments
 (0)