From e59e0920f3bef0c2ac47bbf6b4ff3092c8ff08fb Mon Sep 17 00:00:00 2001 From: Parth Narielwala Date: Wed, 10 Apr 2019 11:18:25 -0500 Subject: [PATCH] Add SVG support dependency note (#6783) --- 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 c481d96c..217a1977 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. +> Note: this feature is available with `react-scripts@2.0.0` and higher, and `react@16.0.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: