File tree Expand file tree Collapse file tree 3 files changed +34
-10
lines changed
Expand file tree Collapse file tree 3 files changed +34
-10
lines changed Original file line number Diff line number Diff line change 6868 "@babel/preset-typescript" : " ^7.22.5" ,
6969 "@chakra-ui/babel-plugin" : " ^1.0.8" ,
7070 "@chakra-ui/form-control" : " ^2.1.0" ,
71- "@chakra-ui/icon" : " ^3.1 .0" ,
71+ "@chakra-ui/icon" : " ^3.2 .0" ,
7272 "@chakra-ui/layout" : " ^2.3.0" ,
7373 "@chakra-ui/media-query" : " ^3.3.0" ,
7474 "@chakra-ui/menu" : " ^2.2.0" ,
Original file line number Diff line number Diff line change 11import React from "react" ;
2- import type { IconProps } from "@chakra-ui/icon" ;
3- import Icon from "@chakra-ui/icon" ;
42import { Box } from "@chakra-ui/layout" ;
53import { Menu as ChakraMenu , MenuIcon } from "@chakra-ui/menu" ;
6- import type { SystemStyleObject } from "@chakra-ui/system" ;
4+ import type { PropsOf , SystemStyleObject } from "@chakra-ui/system" ;
75import { useColorModeValue , useMultiStyleConfig } from "@chakra-ui/system" ;
86import type {
97 CoercedMenuPlacement ,
@@ -336,15 +334,15 @@ export const GroupHeading = <
336334/**
337335 * The `CheckIcon` component from the Chakra UI Menu
338336 *
339- * @see {@link https://github.com/chakra-ui/chakra-ui/blob/13c6d2e08b61e179773be4722bb81173dd599306 /packages/menu/src/menu.tsx#L314 }
337+ * @see {@link https://github.com/chakra-ui/chakra-ui/blob/eb0316ddf96dd259433724062e923c33e6eee729 /packages/components/ menu/src/menu-item-option .tsx#L10-L17 }
340338 */
341- const CheckIcon = ( props : IconProps ) => (
342- < Icon viewBox = "0 0 14 14" w = "1em" h = "1em" { ...props } >
339+ const CheckIcon : React . FC < PropsOf < "svg" > > = ( props ) => (
340+ < svg viewBox = "0 0 14 14" width = "1em" height = "1em" { ...props } >
343341 < polygon
344342 fill = "currentColor"
345343 points = "5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"
346344 />
347- </ Icon >
345+ </ svg >
348346) ;
349347
350348export const Option = <
You can’t perform that action at this time.
0 commit comments