@tomino/dynamic-form-semantic-ui
Version:
Semantic UI form renderer based on dynamic form generation
25 lines (24 loc) • 696 B
TypeScript
/// <reference types="react" />
import { FormComponentProps, FormComponent } from '@tomino/dynamic-form';
export declare type ApolloMutationProps = {
mutation: string;
target: string;
variables: {
name: string;
value: string;
type: string;
}[];
boundVariables: {
name: string;
source: string;
}[];
onResult: string;
onError: string;
clickHandler: string;
onSubmit: string;
successAlert: string;
errorAlert: string;
fakeData: string;
};
export declare const ApolloMutation: (props: FormComponentProps<ApolloMutationProps, any, any>) => JSX.Element;
export declare const ApolloMutationView: FormComponent;