Skip to content

Commit

Permalink
fix: imports are necessary after all
Browse files Browse the repository at this point in the history
  • Loading branch information
karrui committed Oct 8, 2024
1 parent 03d2c42 commit 0b9943b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion react/src/Menu/Menu.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import { FC, useMemo } from 'react'
import {
ComponentWithAs as _,
ComponentWithAs as _ComponentWithAs,
Icon,
Menu as ChakraMenu,
MenuButton as ChakraMenuButton,
MenuDivider as ChakraMenuDivider,
// Importing due to type error
// The inferred type of 'Menu' cannot be named without a reference to '../../node_modules/@chakra-ui/menu/dist/menu-divider'. This is likely not portable. A type annotation is necessary.
MenuDividerProps as _MenuDividerProps,
MenuItem as ChakraMenuItem,
MenuItemProps as _MenuItemProps,
MenuList as ChakraMenuList,
MenuListProps as _MenuListProps,
MenuProps as ChakraMenuProps,
ThemingProps,
useMultiStyleConfig,
Expand Down

0 comments on commit 0b9943b

Please sign in to comment.