【flowtype】これ。how to fix 「react. Required module not found」

【flowtype】これ。how to fix 「react. Required module not found」

An error occurred from a component when I introduced flowtype (flowtypeを導入した際に出たエラー)

It seems that the module is not typed.

Component file where the error occurred

ここのError箇所でモジュールがうまく型定義されていない。

ここに型定義のフォルダを追加する設定を.flowtype.configの[libs]に追加

Add to .flowtype.config in libs folder name wirtten typed module

【flowtype】これ。react. Required module not found

In the meantime type in this way

Errors are eliminated

refference is here
https://github.com/facebook/flow/issues/2092#issuecomment-232917073