🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

ffw-react

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ffw-react - npm Package Compare versions

Comparing version
1.1.4
to
1.1.5
+1
-1
dist/types/use-fields/use-fields.d.ts
import { FieldReact, FormReact } from '../plugin/plugin.ts';
type DepsArr = (string | FieldReact)[];
type Deps = DepsArr | ((form: FormReact) => DepsArr);
export declare function useFields(deps?: Deps, customForm?: FormReact): any;
export declare function useFields(deps?: Deps, customForm?: FormReact): FieldReact[];
export {};
import { FormReact } from '../plugin/plugin.ts';
export declare function useFormValid(customForm?: FormReact): any;
export declare function useFormValid(customForm?: FormReact): boolean;

@@ -5,3 +5,3 @@ type Get<TValue = any> = () => TValue;

export type Subscribe<TValue = any> = (cb: Cb<TValue>) => Unsubscribe;
export declare function useSubscribe(get: Get, subscribe: Subscribe): any;
export declare function useSubscribe<TGet extends Get = Get>(get: TGet, subscribe: Subscribe): ReturnType<TGet>;
export {};
{
"name": "ffw-react",
"version": "1.1.4",
"version": "1.1.5",
"description": "",

@@ -5,0 +5,0 @@ "type": "module",