UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

13 lines (12 loc) 448 B
import type { RefObject } from 'react'; import type { Path } from '../../types'; import type { ContainerMode } from '../Array'; type PushContainerContext = { path: Path; itemPath: Path; entries?: Array<unknown>; commitHandleRef: RefObject<() => void>; switchContainerMode?: (mode: ContainerMode) => void; }; declare const PushContainerContext: import("react").Context<PushContainerContext>; export default PushContainerContext;