Socket
Socket
Sign inDemoInstall

@hookform/devtools

Package Overview
Dependencies
Maintainers
3
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hookform/devtools - npm Package Compare versions

Comparing version 4.2.3 to 4.3.0

6

dist/devTool.d.ts
import { Control, FieldValues } from 'react-hook-form';
import { DevtoolUIProps } from './devToolUI';
import type { PLACEMENT } from './position';
export declare const DevTool: <T extends FieldValues>(props?: {
export declare const DevTool: <T extends FieldValues>(props?: ({
id?: string | undefined;
control?: Control<T, any> | undefined;
placement?: PLACEMENT | undefined;
} | undefined) => JSX.Element | null;
} & Pick<DevtoolUIProps, "placement" | "styles">) | undefined) => JSX.Element | null;
export type { PLACEMENT };
import * as React from 'react';
import { Control } from 'react-hook-form';
import { PLACEMENT } from './position';
interface DevtoolUIProps {
export interface DevtoolUIProps {
control: Control<any>;
placement?: PLACEMENT;
/** Custom styles for the "show/hide panel" button and for the panel div */
styles?: {
/** Custom styles for the "show/hide panel" button */
button?: React.HTMLAttributes<HTMLButtonElement>['style'];
/** Custom styles for the panel div */
panel?: React.HTMLAttributes<HTMLDivElement>['style'];
};
}
export declare const DevToolUI: React.FC<DevtoolUIProps>;
export {};
{
"name": "@hookform/devtools",
"version": "4.2.3",
"version": "4.3.0",
"description": "React Hook Form dev tool to help debugging forms",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc