UNPKG

@vs-form/vs-form

Version:

A schema-based form generator component for React using material-ui

13 lines (12 loc) 547 B
import * as React from 'react'; import * as types from '../schemaManager/types'; import { ItemProps, ItemDataState } from '../common/propTypes'; export default class VsBaseDataComponent extends React.Component<ItemProps, ItemDataState> { constructor(props: ItemProps); render(): any; updateValue: (value: any, schemaValue?: any) => void; getSchemaValue: () => any; updateSchemaValue: (value: any) => void; errorsToString: (errors: types.IValidationErrorList) => string; setError: (error: string) => void; }