UNPKG

@logicwind/react-native-tvos-keyboard

Version:

Native Apple TV keyboard for React Native tvOS with voice typing support.

25 lines 900 B
import { type ColorValue, type NativeSyntheticEvent, type ViewProps } from 'react-native'; type OnFocusEvent = NativeSyntheticEvent<{ focused: boolean; }>; type OnBlurEvent = NativeSyntheticEvent<{ blurred: boolean; }>; type OnTextChangeEvent = NativeSyntheticEvent<{ text: string; }>; type OnKeyboardLayoutChangeEvent = NativeSyntheticEvent<{ height: number; isGrid: boolean; }>; type TvosKeyboardProps = ViewProps & { onTextChange?: (event: OnTextChangeEvent) => void; onFocus?: (event: OnFocusEvent) => void; onBlur?: (event: OnBlurEvent) => void; onKeyboardLayoutChange?: (event: OnKeyboardLayoutChangeEvent) => void; gridSeparatorColor?: ColorValue; linearSeparatorColor?: ColorValue; }; export declare const TvosKeyboardView: (props: TvosKeyboardProps) => import("react/jsx-runtime").JSX.Element | null; export {}; //# sourceMappingURL=index.d.ts.map