jb-input-react
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -19,2 +19,5 @@ import React from 'react'; | ||
export declare const JBInput: React.ForwardRefExoticComponent<JBInputProps & React.RefAttributes<unknown>>; | ||
export type JBInputEventType<T> = T & { | ||
target: JBInputWebComponent; | ||
}; | ||
export type JBInputProps = { | ||
@@ -35,3 +38,3 @@ label?: string; | ||
onKeydown?: (e: KeyboardEvent) => void; | ||
onChange?: (e: Event) => void; | ||
onChange?: (e: JBInputEventType<Event>) => void; | ||
placeholder?: string; | ||
@@ -38,0 +41,0 @@ numberFieldParameter?: NumberFieldParameterInput; |
@@ -17,3 +17,3 @@ { | ||
], | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"bugs": "https://github.com/javadbat/jb-input-react/issues", | ||
@@ -20,0 +20,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
59006
511