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.

27 lines (26 loc) 1.47 kB
import type { BaseProps } from '../../BaseProps'; import type { StepperHorizontalItemState } from '../types'; export type PStepperHorizontalItemProps = BaseProps & { /** * Disables the stepper-horizontal-item. No events will be triggered while disabled state is active. * @default false */ disabled?: boolean; /** * The current progression state of the step. Use `current` for the active step, `complete` for finished steps, `warning` for steps with issues. Leave unset for future steps. */ state?: StepperHorizontalItemState; }; export declare const PStepperHorizontalItem: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & { /** * Disables the stepper-horizontal-item. No events will be triggered while disabled state is active. * @default false */ disabled?: boolean; /** * The current progression state of the step. Use `current` for the active step, `complete` for finished steps, `warning` for steps with issues. Leave unset for future steps. */ state?: StepperHorizontalItemState; } & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLElement>>;