react-native-mock-tmp-build
Version:
A fully mocked and test-friendly version of react native
23 lines (18 loc) • 508 B
JavaScript
import PropTypes from 'prop-types';
import TouchableWithoutFeedback from './TouchableWithoutFeedback';
import createReactClass from 'create-react-class';
const TouchableNativeFeedback = createReactClass({
propTypes: {
...TouchableWithoutFeedback.propTypes,
background: PropTypes.object
},
statics: {
SelectableBackground() {},
SelectableBackgroundBorderless() {},
Ripple(color, borderless) {}
},
render() {
return null;
}
});
module.exports = TouchableNativeFeedback;