Debian Codegraph @

node/@patternfly/react-core/dist/esm/components/Page/PageBreadcrumb.d.ts

raw
1 /// <reference types="react" />
2 export interface PageBreadcrumbProps extends React.HTMLProps<HTMLElement> {
3 /** Additional classes to apply to the PageBreadcrumb */
4 className?: string;
5 /** Content rendered inside of the PageBreadcrumb */
6 children?: React.ReactNode;
7 /** Limits the width of the breadcrumb */
8 isWidthLimited?: boolean;
9 /** Modifier indicating if the PageBreadcrumb is sticky to the top or bottom at various breakpoints */
10 stickyOnBreakpoint?: {
11 default?: 'top' | 'bottom';
12 sm?: 'top' | 'bottom';
13 md?: 'top' | 'bottom';
14 lg?: 'top' | 'bottom';
15 xl?: 'top' | 'bottom';
16 '2xl'?: 'top' | 'bottom';
17 };
18 /** Flag indicating if PageBreadcrumb should have a shadow at the top */
19 hasShadowTop?: boolean;
20 /** Flag indicating if PageBreadcrumb should have a shadow at the bottom */
21 hasShadowBottom?: boolean;
22 /** Flag indicating if the PageBreadcrumb has a scrolling overflow */
23 hasOverflowScroll?: boolean;
24 /** @beta Flag indicating whether children passed to the component should be wrapped by a PageBody.
25 * Set this to false in order to pass multiple, custom PageBody's as children.
26 */
27 hasBodyWrapper?: boolean;
28 /** Adds an accessible name to the breadcrumb section. Required when the hasOverflowScroll prop is set to true. */
29 'aria-label'?: string;
30 }
31 export declare const PageBreadcrumb: {
32 ({ className, children, isWidthLimited, stickyOnBreakpoint, hasShadowTop, hasShadowBottom, hasOverflowScroll, "aria-label": ariaLabel, hasBodyWrapper, ...props }: PageBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
33 displayName: string;
34 };
35 //# sourceMappingURL=PageBreadcrumb.d.ts.map