react-ocean-forms
Version:
Forms components for react based on the context api.
14 lines (13 loc) • 477 B
TypeScript
/**
* Copyright (c) 2018-present, Umweltbundesamt GmbH
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
import { IFormContext } from './FormContext.types';
/**
* Context for the communication between the form
* and its fields.
*/
export declare const FormContext: React.Context<IFormContext<import("./FormContext.types").IFieldValues> | undefined>;