UNPKG

@ertekinno/human-like

Version:

A sophisticated React typewriter effect library with realistic human typing behavior, mobile/desktop keyboards, and comprehensive theming support

27 lines (26 loc) 1.1 kB
import { default as React } from 'react'; import { KeyboardView, ShiftState, KeyboardClasses, LabelOverrides, IconOverrides, ViewChangeEvent, ShiftChangeEvent } from '../types'; export interface MobileKeyboardProps { currentView?: KeyboardView; onViewChange?: (event: ViewChangeEvent) => void; highlightedKey?: string; keyboardMode?: 'light' | 'dark'; onKeyPress?: (key: string) => void; unstyled?: boolean; className?: string; classes?: KeyboardClasses; style?: React.CSSProperties; labelOverrides?: LabelOverrides; iconOverrides?: IconOverrides; uppercaseLettersWhenShifted?: boolean; shiftState?: ShiftState; onShiftStateChange?: (event: ShiftChangeEvent) => void; } export interface MobileKeyboardRef { resetKeyboard: () => void; setView: (view: KeyboardView) => void; setShift: (state: ShiftState) => void; highlightKey: (key: string) => void; } export declare const MobileKeyboard: React.ForwardRefExoticComponent<MobileKeyboardProps & React.RefAttributes<MobileKeyboardRef>>; //# sourceMappingURL=MobileKeyboard.d.ts.map