react-native-inline-keyboard
Version:
Inline keyboard for React Native TV Applications
19 lines (18 loc) • 580 B
TypeScript
import React from 'react';
import { StyleProp, TouchableOpacityProps, ViewStyle } from 'react-native';
interface TVTouchableFeedbackProps extends TouchableOpacityProps {
focusStyles?: StyleProp<ViewStyle>;
}
interface TVTouchableFeedbackState {
focused: boolean;
}
export default class TVTouchableFeedback extends React.Component<TVTouchableFeedbackProps, TVTouchableFeedbackState> {
state: {
focused: boolean;
};
onFocus: () => void;
onBlur: () => void;
onPress: (event: any) => void;
render(): JSX.Element;
}
export {};