@porsche-design-system/components-react
Version:
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.
31 lines (30 loc) • 1.28 kB
TypeScript
import type { BaseProps } from '../../BaseProps';
import type { AiTagLocale, Theme, AiTagVariant } from '../types';
export type PAiTagProps = BaseProps & {
/**
* Locale for the AI text (ISO format, e.g. "de_DE").
*/
locale?: AiTagLocale;
/**
* Adapts the tag color depending on the theme.
*/
theme?: Theme;
/**
* Variant to display: 'abbreviation' (e.g. "AI"), 'generated' (e.g. "AI-generated"), or 'modified' (e.g. "AI-modified").
*/
variant?: AiTagVariant;
};
export declare const PAiTag: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
/**
* Locale for the AI text (ISO format, e.g. "de_DE").
*/
locale?: AiTagLocale;
/**
* Adapts the tag color depending on the theme.
*/
theme?: Theme;
/**
* Variant to display: 'abbreviation' (e.g. "AI"), 'generated' (e.g. "AI-generated"), or 'modified' (e.g. "AI-modified").
*/
variant?: AiTagVariant;
} & import("react").RefAttributes<HTMLElement>>;