import React, { ButtonHTMLAttributes, forwardRef } from "react"; import classNames from "classnames"; import { Icon, ICON_TYPE } from "../Icon"; import { bem } from "../../utilities/bem"; const cn = "CloseButton"; type CloseButtonProps = ButtonHTMLAttributes; export const CloseButton = forwardRef( (props, ref) => { const { "aria-label": ariaLabel = "Close", className, ...rest } = props; return ( ); }, );