UNPKG

@spaced-out/ui-design-system

Version:
32 lines 916 B
import * as React from 'react'; import type { Flow } from 'flow-to-typescript-codemod'; import type { ColorTypes } from '../../types/typography'; export declare const ICON_TYPE: Readonly<{ regular: "regular"; solid: "solid"; duotone: "duotone"; brands: "brands"; }>; export declare const ICON_SIZE: Readonly<{ small: "small"; medium: "medium"; large: "large"; }>; export type IconSize = keyof typeof ICON_SIZE; export type IconType = keyof typeof ICON_TYPE; export interface IconProps { type?: IconType; name: string; size?: IconSize; color?: ColorTypes; className?: string; onClick?: React.MouseEventHandler<HTMLDivElement>; ariaLabel?: string; swapOpacity?: boolean; style?: { [key: string]: string; }; testId?: string; } export declare const Icon: Flow.AbstractComponent<IconProps, HTMLDivElement>; //# sourceMappingURL=Icon.d.ts.map