@hookform/devtools
Advanced tools
Comparing version 4.2.3 to 4.3.0
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
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
1306526
10042