Browse Source

Fix typo in forwardRef Beta Docs Reference (#5570)

main
Hyunseung Lee 2 years ago
committed by GitHub
parent
commit
534948880c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/content/reference/react/forwardRef.md

2
beta/src/content/reference/react/forwardRef.md

@ -139,7 +139,7 @@ Keep in mind that by exposing a ref to the DOM node inside your component, you'r
#### Focusing a text input {/*focusing-a-text-input*/}
Clicking the button will focus the input. The `Form` component defines a ref and passes it to the `MyInput` component. The `MyInput` component fowards that ref to the browser `<input>`. This lets the `Form` component focus the `<input>`.
Clicking the button will focus the input. The `Form` component defines a ref and passes it to the `MyInput` component. The `MyInput` component forwards that ref to the browser `<input>`. This lets the `Form` component focus the `<input>`.
<Sandpack>

Loading…
Cancel
Save