UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

49 lines 1.71 kB
import React from 'react'; import { useFunnelSubStep } from '../internal/analytics/hooks/use-funnel'; import { InternalBaseComponentProps } from '../internal/hooks/use-base-component'; import { ContainerProps } from './interfaces'; export interface InternalContainerProps extends Omit<ContainerProps, 'variant'>, InternalBaseComponentProps { disableFooterPaddings?: boolean; __stickyHeader?: boolean; __stickyOffset?: number; __mobileStickyOffset?: number; __disableFooterDivider?: boolean; __hiddenContent?: boolean; __headerRef?: React.RefObject<HTMLDivElement>; __fullPage?: boolean; __disableStickyMobile?: boolean; /** * Additional internal variant: * * `embedded` - Use this variant within a parent container (such as a modal, * expandable section, container or split panel). * * `full-page` – Only for internal use in table, cards and other components */ variant?: ContainerProps['variant'] | 'embedded' | 'full-page' | 'cards'; __funnelSubStepProps?: ReturnType<typeof useFunnelSubStep>['funnelSubStepProps']; __subStepRef?: ReturnType<typeof useFunnelSubStep>['subStepRef']; } export declare function InternalContainerAsSubstep(props: InternalContainerProps): JSX.Element; export default function InternalContainer({ header, footer, children, variant, disableHeaderPaddings, disableContentPaddings, disableFooterPaddings, fitHeight, media, style, __stickyOffset, __mobileStickyOffset, __stickyHeader, __internalRootRef, __disableFooterDivider, __hiddenContent, __headerRef, __fullPage, __disableStickyMobile, __funnelSubStepProps, __subStepRef, ...restProps }: InternalContainerProps): JSX.Element;