react-native-dom-expo
Version:
A patch library to make Expo work with react-native-dom
15 lines (12 loc) • 383 B
JavaScript
import React from 'react';
import { TouchableWithoutFeedback, View } from 'react-native';
export default class RNGestureHandlerButton extends React.Component {
render() {
const { children, ...rest } = this.props;
return (
<TouchableWithoutFeedback accessibilityRole="button" {...rest}>
<View>{children}</View>
</TouchableWithoutFeedback>
);
}
}