UNPKG

@uiwwsw/virtual-keyboard

Version:

**A revolutionary virtual keyboard solution for React that solves the Korean `composition` issue.**

13 lines (12 loc) 567 B
import React from "react"; export interface VirtualInputHandle { handleKeyDown: (e: KeyboardEvent | React.KeyboardEvent) => void; scrollIntoView: () => void; } export interface VirtualInputProps extends React.HTMLAttributes<HTMLDivElement> { value?: string; defaultValue?: string; placeholder?: string; onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void; } export declare function VirtualInput({ value: controlledValue, defaultValue, placeholder, onChange, ...props }: VirtualInputProps): import("react/jsx-runtime").JSX.Element;