import type { ReactNode } from 'react'; import type { Except } from 'type-fest'; import type { IconProps } from '../Icon'; import type { DefaultLinkImplementationProps, LinkImplementationProps, LinkImplementationRequiredProps } from '../Link'; interface IconButtonContentProps { icon: IconProps['name']; color?: 'black' | 'white'; disabled?: boolean; /** @internal for close button only */ fill?: boolean; } export interface IconButtonProps extends IconButtonContentProps { /** @internal for close button only */ fill?: boolean; onClick?: () => void; } /** @deprecated use IconButton from kitt-universal instead */ export declare function IconButton({ icon, color, disabled, fill, ...props }: IconButtonProps): ReactNode; export declare namespace IconButton { var Link: typeof IconButtonLink; } export type IconButtonLinkProps
= IconButtonContentProps & LinkImplementationProps
; declare function IconButtonLink
({ disabled, color, icon, className, ...props }: IconButtonLinkProps
): ReactNode;
export declare function CloseIconButton(props: Except