From 9600b1648fd2d5c38978d4e3d171808befe6f53b Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Sun, 14 Apr 2019 15:27:50 -0600 Subject: [PATCH] Fix minimum React version for SVG component support (#6820) --- 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 217a1977..ef1d4d86 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: