Skip to content

Commit

Permalink
RN: Fix $FlowFixMe in RTLExample
Browse files Browse the repository at this point in the history
Summary: Fix the typo in `RTLExample.js` that is now detected by Flow.

Reviewed By: TheSavior

Differential Revision: D7987526

fbshipit-source-id: d30f536b2f41e2127909675ea065a3355e5576ad
  • Loading branch information
yungsters authored and facebook-github-bot committed May 15, 2018
1 parent 6042592 commit 206ef54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions RNTester/js/RTLExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,7 @@ class RTLExample extends React.Component<any, State> {
<RNTesterBlock
title={'Controlling Animation'}
description={'Animation direction according to layout'}>
{/* $FlowFixMe - Typing ReactNativeComponent revealed errors */}
<View Style={styles.view}>
<View style={styles.view}>
<AnimationBlock
onPress={this._linearTap}
imgStyle={{
Expand Down

0 comments on commit 206ef54

Please sign in to comment.