We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f453907 commit 6a90c19Copy full SHA for 6a90c19
website/pages/docs/rules/no-forward-ref.md
@@ -78,7 +78,7 @@ interface MyInputProps {
78
}
79
80
function MyInput({ ref, value, onChange }: MyInputProps & { ref: React.RefObject<HTMLInputElement> }) {
81
- // ...
+ return <input ref={ref} value={value} onChange={(e) => onChange(e.target.value)} />;
82
83
```
84
0 commit comments