mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
React.Element<any> » React.Element<*>
Reviewed By: yungsters Differential Revision: D4027388 fbshipit-source-id: 5bc178eab1ab72283622b4b7d418f9fd43ec0792
This commit is contained in:
committed by
Facebook Github Bot
parent
8e2d4cc680
commit
e58d17e68b
@@ -129,7 +129,7 @@ class Modal extends React.Component {
|
||||
visible: true,
|
||||
};
|
||||
|
||||
render(): ?React.Element<any> {
|
||||
render(): ?React.Element<*> {
|
||||
if (this.props.visible === false) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user