From 40f25659b9c801131bb0abed2030fdc54d88a074 Mon Sep 17 00:00:00 2001 From: mohsinulhaq Date: Fri, 4 Jan 2019 01:18:10 +0530 Subject: [PATCH] [Docs] update README to document React version detection --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a526a08ef8..50630adabb 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,8 @@ You should also specify settings that will be shared across all the plugin rules "createClass": "createReactClass", // Regex for Component Factory to use, // default to "createReactClass" "pragma": "React", // Pragma to use, default to "React" - "version": "15.0", // React version, default to the latest React stable release + "version": "detect", // React version. "detect" automatically picks the version you have installed. + // You can also use `16.0`, `16.3`, etc, if you want to override the detected value. "flowVersion": "0.53" // Flow version }, "propWrapperFunctions": [