import * as react172 from "react"; import { ReactNode } from "react"; import { IconData } from "@equinor/eds-icons"; //#region src/molecules/Tag/Tag.d.ts interface BaseTagProps { color?: 'blue' | 'green' | 'purple' | 'orange' | 'yellow' | 'dark pink' | 'pink' | 'grey' | 'white' | 'success' | 'warning' | 'danger'; /** @default 'pastel' */ variant?: 'pastel' | 'vibrant' | 'outlined'; iconColor?: string; className?: string; style?: React.CSSProperties | undefined; 'data-testid'?: string; } interface DefaultTagProps extends BaseTagProps { iconOnly?: false; leadingIcon?: IconData; trailingIcon?: IconData; textColor?: string; children: ReactNode; } interface IconTagProps extends BaseTagProps { iconOnly: true; icon: IconData; /** Accessible label, since the tag has no visible text */ label: string; } type TagProps = DefaultTagProps | IconTagProps; declare function Tag(props: TagProps): react172.JSX.Element; //#endregion export { Tag, TagProps };