diff --git a/jsx-control-statements.flow.js b/jsx-control-statements.flow.js index 7451244..38b5b87 100644 --- a/jsx-control-statements.flow.js +++ b/jsx-control-statements.flow.js @@ -1,7 +1,7 @@ // @flow -declare var If: ReactClass<{condition: boolean}>; -declare var For: ReactClass<{each: string, index: string, of: Array}>; -declare var Choose: ReactClass<{}>; -declare var When: ReactClass<{condition: boolean}>; -declare var Otherwise: ReactClass<{}>; +declare var If: React$ComponentType<{condition: boolean}>; +declare var For: React$ComponentType<{each: string, index: string, of: Array}>; +declare var Choose: React$ComponentType<{}>; +declare var When: React$ComponentType<{condition: boolean}>; +declare var Otherwise: React$ComponentType<{}>;