Example usage of flow with material-ui
MIT License
This code is included in material-ui/examples/create-react-app-with-flow
. It's only here as a canary to make sure everyting builds.
yarn
to install dependenciesyarn flow
.flowconfig
module.name_mapper
to your project nameflow
diryarn add -D flow-bin
enzyme
- flow is expecting it in your package.json
because material-ui
includes reusable test-utils
. If you do not want it, uncomment L12
in the .flowconfig
package.json
script flow
flow-typed install
yarn flow