| 1 |
/// <reference types="react" /> |
| 2 |
export interface PageGroupProps extends React.HTMLProps<HTMLDivElement> { |
| 3 |
/** Additional classes to apply to the PageGroup */ |
| 4 |
className?: string; |
| 5 |
/** Content rendered inside of the PageGroup */ |
| 6 |
children?: React.ReactNode; |
| 7 |
/** Modifier indicating if the PageBreadcrumb is sticky to the top or bottom at various breakpoints */ |
| 8 |
stickyOnBreakpoint?: { |
| 9 |
default?: 'top' | 'bottom'; |
| 10 |
sm?: 'top' | 'bottom'; |
| 11 |
md?: 'top' | 'bottom'; |
| 12 |
lg?: 'top' | 'bottom'; |
| 13 |
xl?: 'top' | 'bottom'; |
| 14 |
'2xl'?: 'top' | 'bottom'; |
| 15 |
}; |
| 16 |
/** @beta Applies the base sticky positioning to the top or bottom of the scroll parent container. */ |
| 17 |
stickyBase?: 'top' | 'bottom'; |
| 18 |
/** @beta Flag indicating if the group has stuck styling, applied when the group is not at the edge of the scroll parent container. */ |
| 19 |
isStickyStuck?: boolean; |
| 20 |
/** Enables the page group to fill the available vertical space if true, or disable filling if false. */ |
| 21 |
isFilled?: boolean; |
| 22 |
/** Modifier indicating if PageGroup should have a shadow at the top */ |
| 23 |
hasShadowTop?: boolean; |
| 24 |
/** Modifier indicating if PageGroup should have a shadow at the bottom */ |
| 25 |
hasShadowBottom?: boolean; |
| 26 |
/** Flag indicating if the PageGroup has a scrolling overflow */ |
| 27 |
hasOverflowScroll?: boolean; |
| 28 |
/** Adds an accessible name to the page group when the hasOverflowScroll prop is set to true. */ |
| 29 |
'aria-label'?: string; |
| 30 |
/** Adds plain styling to the page group. */ |
| 31 |
isPlain?: boolean; |
| 32 |
/** @beta Prevents the page group from automatically applying plain styling when glass theme is enabled. */ |
| 33 |
isNoPlainOnGlass?: boolean; |
| 34 |
} |
| 35 |
export declare const PageGroup: { |
| 36 |
({ className, children, stickyOnBreakpoint, stickyBase, isStickyStuck, isFilled, hasShadowTop, hasShadowBottom, hasOverflowScroll, "aria-label": ariaLabel, isPlain, isNoPlainOnGlass, ...props }: PageGroupProps): import("react/jsx-runtime").JSX.Element; |
| 37 |
displayName: string; |
| 38 |
}; |
| 39 |
//# sourceMappingURL=PageGroup.d.ts.map |