UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

24 lines (23 loc) 1.06 kB
import { Props as CardProps } from '../../../../components/card/Card'; import { HeightAnimationProps } from '../../../../components/HeightAnimation'; import { Props as FlexContainerProps } from '../../../../components/flex/Container'; import { ContainerMode } from './types'; export type ArrayItemAreaProps = { /** * Defines the variant of the ViewContainer, EditContainer or PushContainer. Can be `outline`, `filled` or `basic`. * Defaults to `outline`. */ variant?: 'outline' | 'basic' | 'filled'; toolbarVariant?: 'minimumOneItem' | 'custom'; } & Omit<CardProps, 'onAnimationEnd' | 'data'>; export type Props = { mode: ContainerMode; open?: boolean | undefined; ariaLabel?: string; openDelay?: number; } & ArrayItemAreaProps & Pick<HeightAnimationProps, 'onAnimationEnd'>; declare function ArrayItemArea(props: Props & Omit<FlexContainerProps, 'onAnimationEnd'>): import("react/jsx-runtime").JSX.Element; declare namespace ArrayItemArea { var _supportsSpacingProps: boolean; } export default ArrayItemArea;