final-form-app-form
Advanced tools
Comparing version 0.0.10 to 0.0.11
/// <reference types="react" /> | ||
export declare function compose(props: any): (Form: (formProps: any) => any) => (ownProps: any) => JSX.Element; | ||
export declare function compose(props: any): (Form: any) => JSX.Element; |
import React from "react"; | ||
export function compose(props) { | ||
return (Form) => ((ownProps) => React.createElement(Form, Object.assign({}, props, ownProps))); | ||
return (Form) => React.createElement(Form, Object.assign({}, props)); | ||
} | ||
//# sourceMappingURL=compose.js.map |
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
import { ComponentType } from "react"; | ||
import { IValidator, IValidatorAsync } from "model-state-validation"; | ||
@@ -17,3 +17,3 @@ import { IFormProps } from "./Form"; | ||
constructor(validator?: IValidator<TModel> | IValidatorAsync<TModel>, settings?: FormSettings); | ||
createForm(submit: Submit<TModel>): import("react").FunctionComponent<IFormProps<TModel>>; | ||
createForm(submit: Submit<TModel>): ComponentType<IFormProps<TModel>>; | ||
submitOnClick(): void; | ||
@@ -20,0 +20,0 @@ private handleFormSubmitAsync; |
{ | ||
"name": "final-form-app-form", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "utils for final form using", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
51193