Skip to content

Commit

Permalink
Remove TimerMixin from TouchableOpacity (facebook#21520)
Browse files Browse the repository at this point in the history
Summary:
Related to facebook#21485
This PR removes TimerMixin from TouchableOpacity
Pull Request resolved: facebook#21520

Differential Revision: D10223753

Pulled By: RSNara

fbshipit-source-id: fc02077de7e73ee968b7944c0178892825099063
  • Loading branch information
danibonilha authored and facebook-github-bot committed Oct 6, 2018
1 parent 36552f2 commit 623b0f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Libraries/Components/Touchable/TouchableOpacity.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const Easing = require('Easing');
const NativeMethodsMixin = require('NativeMethodsMixin');
const React = require('React');
const PropTypes = require('prop-types');
const TimerMixin = require('react-timer-mixin');
const Touchable = require('Touchable');
const TouchableWithoutFeedback = require('TouchableWithoutFeedback');

Expand Down Expand Up @@ -132,7 +131,7 @@ type Props = $ReadOnly<{|
*/
const TouchableOpacity = ((createReactClass({
displayName: 'TouchableOpacity',
mixins: [TimerMixin, Touchable.Mixin, NativeMethodsMixin],
mixins: [Touchable.Mixin, NativeMethodsMixin],

propTypes: {
...TouchableWithoutFeedback.propTypes,
Expand Down

0 comments on commit 623b0f2

Please sign in to comment.