File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1081,7 +1081,7 @@ Output of child components.
1081
1081
### useInput(inputHandler, options?)
1082
1082
1083
1083
This hook is used for handling user input.
1084
- It's a more convienient alternative to using ` useStdin ` and listening to ` data ` events.
1084
+ It's a more convenient alternative to using ` useStdin ` and listening to ` data ` events.
1085
1085
The callback you pass to ` useInput ` is called for each character when user enters any input.
1086
1086
However, if user pastes text and it's more than one character, the callback will be called only once and the whole string will be passed as ` input ` .
1087
1087
You can find a full example of using ` useInput ` at [ examples/use-input] ( examples/use-input/use-input.js ) .
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ interface Options {
90
90
91
91
/**
92
92
* This hook is used for handling user input.
93
- * It's a more convienient alternative to using `StdinContext` and listening to `data` events.
93
+ * It's a more convenient alternative to using `StdinContext` and listening to `data` events.
94
94
* The callback you pass to `useInput` is called for each character when user enters any input.
95
95
* However, if user pastes text and it's more than one character, the callback will be called only once and the whole string will be passed as `input`.
96
96
*
You can’t perform that action at this time.
0 commit comments