Skip to content

Commit d572d38

Browse files
feat(hooks): re-export commonly used chakra hooks
1 parent c77e125 commit d572d38

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
@@ -0,0 +1 @@
1+
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,2 +1,3 @@
1+
export { useDisclosure, useToken } from './chakra-hooks';
12
export { useGlobalMenuClose } from './use-global-menu-close';
23
export { useGlobalModifiersImperativeAPI, useGlobalModifiersInit } from './use-global-modifiers';

0 commit comments

Comments
 (0)