UNPKG

react-native-external-keyboard

Version:
19 lines (15 loc) 620 B
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import type { ViewProps, ColorValue } from 'react-native'; import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes'; export type FocusChange = Readonly<{ isFocused: boolean; }>; export interface KeyboardFocusGroupNativeComponentProps extends ViewProps { onGroupFocusChange?: DirectEventHandler<FocusChange>; tintColor?: ColorValue; groupIdentifier?: string; orderGroup?: string; } export default codegenNativeComponent<KeyboardFocusGroupNativeComponentProps>( 'KeyboardFocusGroup' );