final-form-app-form
Advanced tools
Comparing version 0.0.11 to 0.0.12
/// <reference types="react" /> | ||
export declare function compose(props: any): (Form: any) => JSX.Element; | ||
export declare function compose(props: any): (Component: any) => JSX.Element; |
import React from "react"; | ||
export function compose(props) { | ||
return (Form) => React.createElement(Form, Object.assign({}, props)); | ||
return function (Component) { | ||
return React.createElement(Component, Object.assign({}, props)); | ||
}; | ||
} | ||
// function compose2(props) { | ||
// return function compose22(Component) { | ||
// const Component2 = <Component {...props}/>; | ||
// | ||
// // return hoistStatics(Connect, WrappedComponent) | ||
// return Component2; | ||
// }; | ||
// } | ||
//# sourceMappingURL=compose.js.map |
{ | ||
"name": "final-form-app-form", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "utils for final form using", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
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
51594
590