UNPKG

preeti-to-unicode-input

Version:

An input element or textarea to convert preeti font or nepali font to unicode with language toggle support for Nepali and english typing.

15 lines (12 loc) 518 B
import React from 'react'; interface InputFieldProps { inputProps?: React.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>; containerProps?: React.HTMLAttributes<HTMLDivElement>; buttonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>; value?: string; onChange?: (newValue: string) => void; inputType?: "input" | "textarea"; enableEnglishLanguageToggle?: boolean; } declare const PreetiToUnicodeInput: React.FC<InputFieldProps>; export { PreetiToUnicodeInput as default };