material-form-builder
Version:
FormBuilder For React.js
12 lines (11 loc) • 554 B
TypeScript
import { OutputValues } from '../../types/builder.outputValues';
import { ObjectLiteral } from '../../types/helper.types';
import { InputProps } from '../../types/input';
import { BaseInput } from '../../types/input.base';
export type GroupInputValueType = ObjectLiteral | undefined | null;
export interface GroupInputProps extends Omit<BaseInput<GroupInputValueType>, 'onChangeValue'> {
type: 'group';
inputs: InputProps[];
itemWrapper?: (children: JSX.Element) => JSX.Element;
onChangeValue?: (data: OutputValues) => void;
}