mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 13:25:51 +08:00
Remove TimerMixin from TouchableWithoutFeedback (#21493)
Summary: Related to #21485. Removed `TimerMixin` from the `TouchableWithoutFeedback` component since it is currently not used. Added tests cases for `TouchableWithoutFeedback` to check for any runtime issues. Pull Request resolved: https://github.com/facebook/react-native/pull/21493 Differential Revision: D10219098 Pulled By: RSNara fbshipit-source-id: d9517b2bd5b72b0450fa864f3556673ae3181552
This commit is contained in:
committed by
Facebook Github Bot
parent
8ceb1586ee
commit
6c20017152
@@ -13,7 +13,6 @@
|
||||
const DeprecatedEdgeInsetsPropType = require('DeprecatedEdgeInsetsPropType');
|
||||
const React = require('React');
|
||||
const PropTypes = require('prop-types');
|
||||
const TimerMixin = require('react-timer-mixin');
|
||||
const Touchable = require('Touchable');
|
||||
const View = require('View');
|
||||
|
||||
@@ -80,7 +79,7 @@ export type Props = $ReadOnly<{|
|
||||
*/
|
||||
const TouchableWithoutFeedback = ((createReactClass({
|
||||
displayName: 'TouchableWithoutFeedback',
|
||||
mixins: [TimerMixin, Touchable.Mixin],
|
||||
mixins: [Touchable.Mixin],
|
||||
|
||||
propTypes: {
|
||||
accessible: PropTypes.bool,
|
||||
|
||||
Reference in New Issue
Block a user