Remove string ref from function component example (#8244)

Refs can't be attached to stateless functional components.
(cherry picked from commit 3668a2e678)
This commit is contained in:
Ville Immonen
2016-11-16 15:22:38 +00:00
committed by tomocchino
parent 2f7e6c3a5d
commit bda773c963
+1 -1
View File
@@ -31,7 +31,7 @@ One common confusion is that Web Components use "class" instead of "className".
```javascript
function BrickFlipbox() {
return (
<brick-flipbox class="demo" ref="foo">
<brick-flipbox class="demo">
<div>front</div>
<div>back</div>
</brick-flipbox>