We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e4941f6 + 17d04ac commit 5ba8e04Copy full SHA for 5ba8e04
1 file changed
examples/16-3-release-blog-post/forward-ref-example.js
@@ -25,6 +25,10 @@ function withTheme(Component) {
25
));
26
}
27
28
+// Here we assume that FancyButton has been imported into the current scope
29
+const FancyThemedButton = withTheme(FancyButton);
30
+
31
+// Create a ref using the new Referenace API, as above
32
// highlight-next-line
33
const fancyButtonRef = React.createRef();
34
0 commit comments