UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

22 lines (21 loc) 801 B
import React from 'react'; import { Props as FlexContainerProps } from '../../../../../components/flex/Container'; export type ContainerMode = 'view' | 'edit' | 'auto'; export type SectionContainerProps = { /** * Defines the variant of the ViewContainer or EditContainer. Can be `outline`. * Defaults to `outline`. */ variant?: 'outline' | 'basic' | 'filled'; }; export type Props = { mode: ContainerMode; open?: boolean | undefined; ariaLabel?: string; omitFocusManagementRef?: React.MutableRefObject<boolean>; } & SectionContainerProps; declare function SectionContainer(props: Props & FlexContainerProps): import("react/jsx-runtime").JSX.Element; declare namespace SectionContainer { var _supportsSpacingProps: boolean; } export default SectionContainer;