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 ae986be commit 0156e6bCopy full SHA for 0156e6b
exercises/07.imperative-handle/README.mdx
@@ -32,7 +32,7 @@ function App() {
32
const myInputRef = useRef<InputAPI>(null)
33
return (
34
<div>
35
- <MyInput myInputRef={myInputRef} placeholder="Enter your name" />
+ <MyInput ref={myInputRef} placeholder="Enter your name" />
36
<button onClick={() => myInputRef.current.focusInput()}>
37
Focus the input
38
</button>
0 commit comments