UNPKG

@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.

23 lines (22 loc) 642 B
import type { FC } from 'react'; import { type LabelTag } from '@porsche-design-system/components/dist/utils'; type LabelProps = { hasLabel: boolean; hasDescription: boolean; children?: JSX.Element; htmlFor?: string; tag?: LabelTag; isRequired?: boolean; host: HTMLElement; label: string; description?: string; isLoading?: boolean; isDisabled?: boolean; /** * If true, clicking the label will not bubble to the host element, * preventing duplicate handling on host click listeners. */ stopClickPropagation?: boolean; }; export declare const Label: FC<LabelProps>; export {};