@spaced-out/ui-design-system
Version:
Sense UI components library
19 lines • 580 B
TypeScript
import * as React from 'react';
import type { IconSize, IconType } from '../../components/Icon';
type ClassNames = Readonly<{
wrapper?: string;
icon?: string;
badgeIcon?: string;
}>;
export interface BadgedIconProps {
type?: IconType;
name: string;
size?: IconSize;
ariaLabel?: string;
showBadge?: boolean;
classNames?: ClassNames;
testId?: string;
}
export declare const BadgedIcon: ({ name, showBadge, classNames, size, type, ariaLabel, testId, }: BadgedIconProps) => React.JSX.Element;
export {};
//# sourceMappingURL=BadgedIcon.d.ts.map