react-magic-form
Version:
Boilerplate for Resact with Typescript with rollup.js (not webpack)
18 lines (14 loc) • 347 B
TypeScript
import { Field } from './field';
import { FormConfiguration } from './form';
// Main components and his props
export type MagicFormGeneratorProps = {
form: FormConfiguration;
};
// Header components and his props
export type FormHeadingProps = {
title?: string;
subTitle?: string;
};
export type FormFieldsProps = {
fields: Field[];
};