@payfit/unity-components
Version:
26 lines (25 loc) • 932 B
TypeScript
/** Props for {@link AIOutcomeCardIcon}. */
export interface AIOutcomeCardIconProps {
/**
* Selects the canonical Unity icon without its visual variant suffix.
* `AIOutcomeCardIcon` always renders the outlined 24px treatment.
*/
name: string;
}
/**
* Makes AI outcomes scannable without creating another interactive target.
*
* Renders a decorative, fixed-size icon tile using the outlined 24px Unity
* icon treatment and neutral tokens.
*
* Pass the canonical icon `name` without the `Outlined` suffix, such as
* `Calendar`. The component applies the icon variant, size, color, and
* `aria-hidden` treatment.
* @param props - The canonical Unity icon name.
* @param props.name - Icon name without the `Outlined` suffix.
*/
declare const AIOutcomeCardIcon: {
({ name }: AIOutcomeCardIconProps): import('react/jsx-runtime').JSX.Element;
displayName: string;
};
export { AIOutcomeCardIcon };