import type { ElementType } from 'react'; import { type PolymorphicComponentProps, type DataTestId, type MaskingProps, type StylingProps, type WithChildren, type AriaLabelingProps, type DOMProps } from '@dynatrace/strato-components/core'; /** * @public */ export type ChipProps = PolymorphicComponentProps; /** * @public */ export interface ChipOwnProps extends DOMProps, AriaLabelingProps, WithChildren, StylingProps, DataTestId, MaskingProps { /** * The color of the component. This should be chosen based on the context * it's used in. * @defaultValue 'neutral' */ color?: 'neutral' | 'primary' | 'success' | 'warning' | 'critical'; /** * Variant defining the visual representation of the component. * @defaultValue 'emphasized' */ variant?: 'accent' | 'emphasized'; /** * Whether the component is disabled. If true, it cannot be interacted with. * @defaultValue false */ disabled?: boolean; /** * The size of the component. * @defaultValue 'default' */ size?: 'default' | 'condensed'; }