Simon Taranto
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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) => { |
|
|
|