UNPKG
react-localized-input
Version:
latest (1.0.3)
1.0.3
1.0.2
A simple input library for React and Next.js
react-localized-input
/
dist
/
components
/
Input.d.ts
7 lines
(6 loc)
•
283 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
React
, {
InputHTMLAttributes
}
from
"react"
;
export
interface
InputProps
extends
InputHTMLAttributes
<
HTMLInputElement
> {
label
?:
string
;
error
?:
string
; }
export
declare
const
Input
:
React
.
ForwardRefExoticComponent
<
InputProps
&
React
.
RefAttributes
<
HTMLInputElement
>>;