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.

58 lines (57 loc) 1.69 kB
import type { BaseProps } from '../../BaseProps'; import type { FieldsetWrapperLabelSize, FieldsetWrapperState, Theme } from '../types'; export type PFieldsetWrapperProps = BaseProps & { /** * The label text. */ label?: string; /** * The size of the label text. */ labelSize?: FieldsetWrapperLabelSize; /** * The message styled depending on validation state. */ message?: string; /** * Marks the Fieldset as required. */ required?: boolean; /** * The validation state. */ state?: FieldsetWrapperState; /** * Adapts color depending on theme. */ theme?: Theme; }; /** @deprecated since v3.0.0, will be removed with next major release. Please use "p-fieldset" instead. */ export declare const PFieldsetWrapper: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & { /** * The label text. */ label?: string; /** * The size of the label text. */ labelSize?: FieldsetWrapperLabelSize; /** * The message styled depending on validation state. */ message?: string; /** * Marks the Fieldset as required. */ required?: boolean; /** * The validation state. */ state?: FieldsetWrapperState; /** * Adapts color depending on theme. */ theme?: Theme; } & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLElement>>;