Cleanup: Prefer React.Element over React$?Element

Reviewed By: vjeux

Differential Revision: D4013049

fbshipit-source-id: 18a447fdbc584418d6a51770363bcd221e7fb7dc
This commit is contained in:
Tim Yung
2016-10-14 08:53:57 -07:00
committed by Facebook Github Bot
parent beca25083a
commit e8198aed8d
66 changed files with 161 additions and 161 deletions

View File

@@ -59,7 +59,7 @@ class SwipeableQuickActionButton extends React.Component {
textStyle: Text.propTypes.style,
};
render(): ?ReactElement<any> {
render(): ?React.Element<any> {
if (!this.props.imageSource && !this.props.text) {
return null;
}