Skip to content

Commit

Permalink
Fix minimum React version for SVG component support (#6820)
Browse files Browse the repository at this point in the history
  • Loading branch information
iansu authored and amyrlam committed Apr 14, 2019
1 parent 7154487 commit 9600b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/adding-images-fonts-and-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 9600b16

Please sign in to comment.