UNPKG

alinea

Version:
17 lines (16 loc) 592 B
import type { Field } from 'alinea/core/Field'; import { type Section, type SectionData, type SectionDefinition } from 'alinea/core/Section'; import type { View } from 'alinea/core/View'; import type { ReactNode } from 'react'; export declare class ViewSection implements SectionData { view: View<{ section: Section; }>; definition: SectionDefinition; fields: Record<string, Field>; sections: never[]; constructor(view: View<{ section: Section; }>); } export declare function view(view: string | ReactNode): import("alinea/core/Section").SectionI;