react-ocean-forms
Version:
Forms components for react based on the context api.
22 lines (21 loc) • 511 B
TypeScript
/// <reference types="react" />
/**
* 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 { IFieldComponentProps } from '../withField';
/**
* Field Line properties
*/
export interface IFieldLineProps extends IFieldComponentProps {
/**
* Field label
*/
label: string;
/**
* Children
*/
children: React.ReactNode;
}