@spaced-out/ui-design-system
Version:
Sense UI components library
26 lines • 913 B
TypeScript
import * as React from 'react';
import type { Flow } from 'flow-to-typescript-codemod';
import type { ColorTypes } from '../../types/typography';
import type { IconProps, IconSize, IconType } from './';
type ClassNames = Readonly<{
icon?: string;
button?: string;
}>;
export type ClickableIconProps = IconProps & {
disabled?: boolean;
classNames?: ClassNames;
};
export declare const ClickableIcon: Flow.AbstractComponent<ClickableIconProps, HTMLButtonElement>;
export type CloseIconProps = {
size?: IconSize;
type?: IconType;
color?: ColorTypes;
onClick?: ((arg1: React.SyntheticEvent<HTMLElement>) => unknown) | null | undefined;
className?: string;
ariaLabel?: string;
disabled?: boolean;
classNames?: ClassNames;
};
export declare const CloseIcon: Flow.AbstractComponent<CloseIconProps, HTMLButtonElement>;
export {};
//# sourceMappingURL=ClickableIcon.d.ts.map