UNPKG

@focuson/form_components

Version:

Components that can be used by @focuson/forms

9 lines (8 loc) 516 B
import { PageSelectionContext } from "@focuson/pages"; import { LensProps } from "@focuson/state"; import { DateFn, HasDateFn } from "@focuson/utils"; export interface IndexPageProps<S, Context extends PageSelectionContext<S>> extends LensProps<S, S, Context> { children: JSX.Element | JSX.Element[]; dateFn: DateFn; } export declare function IndexPage<S, Context extends PageSelectionContext<S> & HasDateFn>({ state, children, dateFn }: IndexPageProps<S, Context>): import("react/jsx-runtime").JSX.Element;