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.

17 lines (16 loc) 1.35 kB
import type { BaseProps } from '../../BaseProps'; import type { BreakpointCustomizable, ButtonGroupDirection } from '../types'; export type PButtonGroupProps = BaseProps & { /** * Defines the direction of the main and cross axis. The default is ’{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint ‘xs’. You always need to provide a base value when using breakpoints. */ direction?: BreakpointCustomizable<ButtonGroupDirection>; }; export declare const PButtonGroup: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & { /** * Defines the direction of the main and cross axis. The default is ’{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint ‘xs’. You always need to provide a base value when using breakpoints. */ direction?: BreakpointCustomizable<ButtonGroupDirection>; } & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLElement>>;