UNPKG

react-localized-input

Version:

A simple input library for React and Next.js

11 lines (10 loc) 423 B
import React from "react"; export interface LanguageValidationProps { isValid: (char: string) => boolean; lang: string; } interface LanguageValidatedInputProps extends React.InputHTMLAttributes<HTMLInputElement> { languageValidation: LanguageValidationProps; } export declare const InputComponent: React.ForwardRefExoticComponent<LanguageValidatedInputProps & React.RefAttributes<HTMLInputElement>>; export {};