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.33 kB
import type { BaseProps } from '../../BaseProps'; import type { DividerColor, BreakpointCustomizable, DividerDirection } from '../types'; export type PDividerProps = BaseProps & { /** * Sets the color of the divider line using PDS contrast tokens. * @default 'contrast-lower' */ color?: DividerColor; /** * Sets the orientation of the divider to `horizontal` or `vertical`. Supports responsive breakpoint values. * @default 'horizontal' */ direction?: BreakpointCustomizable<DividerDirection>; }; export declare const PDivider: 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"> & { /** * Sets the color of the divider line using PDS contrast tokens. * @default 'contrast-lower' */ color?: DividerColor; /** * Sets the orientation of the divider to `horizontal` or `vertical`. Supports responsive breakpoint values. * @default 'horizontal' */ direction?: BreakpointCustomizable<DividerDirection>; } & import("react").RefAttributes<HTMLElement>>;