From 4b5d46bbbbf5f4f14b3d35c4a68ecd9c24d8bb5a Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Sun, 14 Apr 2019 13:56:04 -0600 Subject: [PATCH] Fix minimum React version for SVG component support --- docusaurus/docs/adding-images-fonts-and-files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/adding-images-fonts-and-files.md b/docusaurus/docs/adding-images-fonts-and-files.md index 217a19775eb..ef1d4d8697e 100644 --- a/docusaurus/docs/adding-images-fonts-and-files.md +++ b/docusaurus/docs/adding-images-fonts-and-files.md @@ -44,7 +44,7 @@ An alternative way of handling static assets is described in the next section. ## Adding SVGs -> Note: this feature is available with `react-scripts@2.0.0` and higher, and `react@16.0.0` and higher. +> Note: this feature is available with `react-scripts@2.0.0` and higher, and `react@16.3.0` and higher. One way to add SVG files was described in the section above. You can also import SVGs directly as React components. You can use either of the two approaches. In your code it would look like this: