You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

final-form-app-form

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

final-form-app-form - npm Package Compare versions

Comparing version

to
0.0.14

3

dist/compose.d.ts

@@ -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;

@@ -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
{
"name": "final-form-app-form",
"version": "0.0.13",
"version": "0.0.14",
"description": "utils for final form using",

@@ -5,0 +5,0 @@ "contributors": [

Sorry, the diff of this file is not supported yet