@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.28 kB
TypeScript
import type { BaseProps } from '../../BaseProps';
import type { StepperHorizontalUpdateEventDetail, BreakpointCustomizable, StepperHorizontalSize } from '../types';
export type PStepperHorizontalProps = BaseProps & {
/**
* Emitted when active step is changed.
*/
onUpdate?: (event: CustomEvent<StepperHorizontalUpdateEventDetail>) => void;
/**
* The font size of the step labels.
* @default 'small'
*/
size?: BreakpointCustomizable<StepperHorizontalSize>;
};
export declare const PStepperHorizontal: 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"> & {
/**
* Emitted when active step is changed.
*/
onUpdate?: (event: CustomEvent<StepperHorizontalUpdateEventDetail>) => void;
/**
* The font size of the step labels.
* @default 'small'
*/
size?: BreakpointCustomizable<StepperHorizontalSize>;
} & {
children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLElement>>;