@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
11 lines (10 loc) • 370 B
TypeScript
import React from 'react';
import type { Path } from '../../types';
import type { SectionProps } from '.';
export type SectionContextState = {
path?: Path;
props?: SectionProps;
errorPrioritization?: Array<'fieldSchema' | 'sectionSchema' | 'contextSchema'>;
};
declare const SectionContext: React.Context<SectionContextState>;
export default SectionContext;