mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-31 01:36:11 +00:00
@@ -44,7 +44,6 @@ const TouchableWithoutFeedback = createReactClass({
|
|||||||
accessibilityRole: BaseComponentPropTypes.accessibilityRole,
|
accessibilityRole: BaseComponentPropTypes.accessibilityRole,
|
||||||
accessibilityTraits: BaseComponentPropTypes.accessibilityTraits,
|
accessibilityTraits: BaseComponentPropTypes.accessibilityTraits,
|
||||||
accessible: bool,
|
accessible: bool,
|
||||||
children: element,
|
|
||||||
/**
|
/**
|
||||||
* Delay in ms, from onPressIn, before onLongPress is called.
|
* Delay in ms, from onPressIn, before onLongPress is called.
|
||||||
*/
|
*/
|
||||||
@@ -161,6 +160,7 @@ const TouchableWithoutFeedback = createReactClass({
|
|||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
// Note(avik): remove dynamic typecast once Flow has been upgraded
|
// Note(avik): remove dynamic typecast once Flow has been upgraded
|
||||||
|
// $FlowFixMe
|
||||||
const child = React.Children.only(this.props.children);
|
const child = React.Children.only(this.props.children);
|
||||||
let children = child.props.children;
|
let children = child.props.children;
|
||||||
warning(
|
warning(
|
||||||
|
|||||||
Reference in New Issue
Block a user