import { JSX } from "solid-js"; import { ElementType, HTMLHopeProps, SinglePartComponentStyleConfig } from "../types"; import { CloseButtonVariants } from "./close-button.styles"; export interface ThemeableCloseButtonOptions extends CloseButtonVariants { /** * A11y: A label that describes the button */ "aria-label"?: string; /** * The icon to be used in the button. */ icon?: JSX.Element; } export declare type CloseButtonProps = HTMLHopeProps; export declare type CloseButtonStyleConfig = SinglePartComponentStyleConfig; /** * A button with a close icon. * * It is used to handle the close functionality in feedback and overlay components * like Alerts, Toasts, Drawers and Modals. */ export declare function CloseButton(props: CloseButtonProps): JSX.Element; export declare namespace CloseButton { var toString: () => string; } //# sourceMappingURL=close-button.d.ts.map