Skip to content

Commit 614539f

Browse files
committed
fix: close button
1 parent 3e35818 commit 614539f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/react/src/components/button/close-button.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import type { ButtonProps } from "@chakra-ui/react"
2-
import { IconButton } from "@chakra-ui/react"
31
import * as React from "react"
42
import { CloseIcon } from "../icons"
3+
import { IconButton, type IconButtonProps } from "./icon-button"
54

6-
export interface CloseButtonProps extends ButtonProps {}
5+
export interface CloseButtonProps extends IconButtonProps {}
76

87
export const CloseButton = React.forwardRef<
98
HTMLButtonElement,

0 commit comments

Comments
 (0)