mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 20:53:08 +00:00
Small typo fix with forwardRef (#5075)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user