final-form-app-form
Advanced tools
@@ -1,2 +0,1 @@ | ||
| /// <reference types="react" /> | ||
| export declare function compose(props: any): (Component: any) => JSX.Element; | ||
| export declare function compose(containerProps: any): (Component: any) => (props: any) => any; |
+2
-11
@@ -1,15 +0,6 @@ | ||
| import React from "react"; | ||
| export function compose(props) { | ||
| export function compose(containerProps) { | ||
| return function (Component) { | ||
| return React.createElement(Component, Object.assign({}, props)); | ||
| return (props) => Component(Object.assign(Object.assign({}, containerProps), props)); | ||
| }; | ||
| } | ||
| // function compose2(props) { | ||
| // return function compose22(Component) { | ||
| // const Component2 = <Component {...props}/>; | ||
| // | ||
| // // return hoistStatics(Connect, WrappedComponent) | ||
| // return Component2; | ||
| // }; | ||
| // } | ||
| //# sourceMappingURL=compose.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"compose.js","sourceRoot":"","sources":["../src/compose.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,UAAU,OAAO,CAAC,KAAU;IAC9B,OAAO,UAAU,SAAc;QAC3B,OAAO,oBAAC,SAAS,oBAAK,KAAK,EAAI,CAAC;IACpC,CAAC,CAAC;AACN,CAAC;AAED,6BAA6B;AAC7B,6CAA6C;AAC7C,sDAAsD;AACtD,EAAE;AACF,4DAA4D;AAC5D,6BAA6B;AAC7B,SAAS;AACT,IAAI"} | ||
| {"version":3,"file":"compose.js","sourceRoot":"","sources":["../src/compose.tsx"],"names":[],"mappings":"AAEA,MAAM,UAAU,OAAO,CAAC,cAAmB;IACvC,OAAO,UAAU,SAAc;QAC3B,OAAO,CAAC,KAAU,EAAE,EAAE,CAAC,SAAS,iCACzB,cAAc,GACd,KAAK,EACV,CAAC;IACP,CAAC,CAAC;AACN,CAAC"} |
+1
-1
| { | ||
| "name": "final-form-app-form", | ||
| "version": "0.0.13", | ||
| "version": "0.0.14", | ||
| "description": "utils for final form using", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
51243
-0.69%580
-1.69%