graphand-react
Advanced tools
Comparing version 0.3.9-beta to 0.3.10-beta
import React from "react"; | ||
import { GraphandFormOptions } from "../lib/renderForm"; | ||
export declare type GraphandFormTemplateParams = { | ||
id: any; | ||
values: any; | ||
instance: any; | ||
formRef: any; | ||
isModified: any; | ||
isLoading: any; | ||
isInitializing: any; | ||
errors: any; | ||
handleSubmit: any; | ||
inputOptions: any; | ||
modified: any; | ||
fields: { | ||
render: (slug: string, _options: any) => React.ReactElement; | ||
renderDefault: () => React.ReactElement; | ||
} & any; | ||
}; | ||
export declare type GraphandFormTemplate = React.ReactElement | ((params: GraphandFormTemplateParams) => React.ReactElement); | ||
declare const GraphandForm: React.FunctionComponent<GraphandFormOptions>; | ||
export default GraphandForm; |
import React from "react"; | ||
import { GraphandModel } from "../../../graphand-js"; | ||
import { GraphandFormTemplate } from "../components/GraphandForm"; | ||
export declare type GraphandFormOptions = { | ||
template: any; | ||
template: GraphandFormTemplate; | ||
children?: React.ReactNode; | ||
instance?: GraphandModel; | ||
controls?: React.ReactNode | ((props: GraphandFormOptions) => React.ReactNode); | ||
translatable?: boolean; | ||
fieldsOptions?: any; | ||
@@ -10,0 +10,0 @@ onChange?: any; |
{ | ||
"name": "graphand-react", | ||
"version": "0.3.9-beta", | ||
"version": "0.3.10-beta", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/pierrecabriere/graphand-react", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
538516
2176