Skip to content

Commit

Permalink
feat(hooks): re-export commonly used chakra hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Jan 19, 2024
1 parent c77e125 commit d572d38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/hooks/chakra-hooks.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { useDisclosure, useToken } from '@chakra-ui/react';
1 change: 1 addition & 0 deletions lib/hooks/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { useDisclosure, useToken } from './chakra-hooks';
export { useGlobalMenuClose } from './use-global-menu-close';
export { useGlobalModifiersImperativeAPI, useGlobalModifiersInit } from './use-global-modifiers';

0 comments on commit d572d38

Please sign in to comment.