@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
19 lines (18 loc) • 786 B
TypeScript
import React from 'react';
import type { FlexContainerAllProps 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 SectionContainerAllProps = {
mode: ContainerMode;
open?: boolean | undefined;
ariaLabel?: string;
omitFocusManagementRef?: React.RefObject<boolean | undefined>;
} & SectionContainerProps;
declare function SectionContainer(props: SectionContainerAllProps & FlexContainerProps): import("react/jsx-runtime").JSX.Element;
export default SectionContainer;