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.

19 lines (18 loc) 532 B
import type { FC } from 'react'; export declare const labelId = "label"; export declare const descriptionId = "description"; type FormElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement; type LabelProps = { hasLabel: boolean; hasDescription: boolean; host: HTMLElement; label: string; description?: string; htmlFor?: string; isRequired?: boolean; isLoading?: boolean; isDisabled?: boolean; formElement?: FormElement; }; export declare const Label: FC<LabelProps>; export {};