graphand-react
Advanced tools
Comparing version 0.3.16-beta to 0.3.17-beta
@@ -1,5 +0,5 @@ | ||
import { GraphandField } from "graphand-js"; | ||
import { GraphandField, GraphandModel } from "graphand-js"; | ||
import React from "react"; | ||
import { GraphandFormOptions } from "../lib/renderForm"; | ||
export declare type GraphandFormTemplateParams = { | ||
declare type GraphandFormTemplateParamsBase = { | ||
id: any; | ||
@@ -16,2 +16,4 @@ values: any; | ||
modified: any; | ||
}; | ||
export declare type GraphandFormTemplateParams = GraphandFormTemplateParamsBase & { | ||
fields: { | ||
@@ -23,14 +25,3 @@ render: (slug: string, _options: any) => React.ReactElement; | ||
export declare type GraphandFormTemplate = React.ReactElement | ((params: GraphandFormTemplateParams) => React.ReactElement); | ||
export declare type GraphandFormInputProps = { | ||
id: any; | ||
values: any; | ||
instance: any; | ||
formRef: any; | ||
isModified: any; | ||
isLoading: any; | ||
isInitializing: any; | ||
errors: any; | ||
handleSubmit: any; | ||
inputOptions: any; | ||
modified: any; | ||
export declare type GraphandFormInputProps = GraphandFormTemplateParamsBase & { | ||
value: any; | ||
@@ -41,5 +32,6 @@ onChange: (value: any) => any; | ||
field: GraphandField; | ||
inputRef: React.Ref<React.ReactNode>; | ||
inputRef: any; | ||
model: typeof GraphandModel; | ||
}; | ||
declare const GraphandForm: React.FunctionComponent<GraphandFormOptions>; | ||
export default GraphandForm; |
@@ -15,3 +15,3 @@ import React from "react"; | ||
fields?: any; | ||
model?: any; | ||
model?: typeof GraphandModel; | ||
map?: string[]; | ||
@@ -18,0 +18,0 @@ values?: any; |
{ | ||
"name": "graphand-react", | ||
"version": "0.3.16-beta", | ||
"version": "0.3.17-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
540195
2194