Browse Source

Small typo fix with forwardRef (#5075)

main
Simon Taranto 3 years ago
committed by GitHub
parent
commit
d83e0aa59c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/content/apis/react/index.md

2
beta/src/content/apis/react/index.md

@ -107,7 +107,7 @@ function MyComponent() {
<YouWillLearnCard title="forwardRef" path="/apis/react/forwardRef">
Create a component that forward the ref attribute:
Create a component that forwards the ref attribute:
```js
const Component = forwardRef((props, ref) => {

Loading…
Cancel
Save