Updates from Thu Feb 26

- [Children] Expose React.Children like web React | James Ide
- Remove touch handler assertions - not always true | Tadeu Zagallo
- [treehouse] Add support for clear button on UITextFields | Sumeet Vaidya
- [Touch] Suite of touchable events on TouchableHighlight/Opacity | James Ide
- [Images] Bail out when GIF data is in unexpected format instead of crashing | James Ide
This commit is contained in:
Christopher Chedeau
2015-03-02 10:45:03 -08:00
parent 9bebc7e519
commit 258c6b1b54
9 changed files with 138 additions and 18 deletions

View File

@@ -7,7 +7,7 @@
var React = require('React');
var Touchable = require('Touchable');
var View = require('View');
var TouchableFeedbackPropType = require('TouchableFeedbackPropType');
var copyProperties = require('copyProperties');
var onlyChild = require('onlyChild');
@@ -29,12 +29,7 @@ var PRESS_RECT_OFFSET = {top: 20, left: 20, right: 20, bottom: 30};
var TouchableWithoutFeedback = React.createClass({
mixins: [Touchable.Mixin],
propTypes: {
onPress: React.PropTypes.func,
onPressIn: React.PropTypes.func,
onPressOut: React.PropTypes.func,
onLongPress: React.PropTypes.func,
},
propTypes: TouchableFeedbackPropType,
getInitialState: function() {
return this.touchableGetInitialState();