Skip to content

Commit 20e52ec

Browse files
authored
Fix fontawesome v5 example
Replaced [ in data argument with {
1 parent a649953 commit 20e52ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example/App.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ <h2>Custom icons</h2>
5757
-->
5858
<h2>FontAwesome v5 Icons</h2>
5959
<p><Icon data={faFontAwesomeLogoFull} scale="10"></Icon></p>
60-
<figure><pre class="prettyprint"><code>{'<Icon data=[faFontAwesomeLogoFull} scale="10"></Icon>'}</code></pre></figure>
60+
<figure><pre class="prettyprint"><code>{'<Icon data={faFontAwesomeLogoFull} scale="10"></Icon>'}</code></pre></figure>
6161

6262
<h2>Multi-color icons</h2>
6363
<p><small>Register icons in more advanced ways to unleash the full power of SVG.</small></p>

0 commit comments

Comments
 (0)