Skip to content

Commit cf45c35

Browse files
committed
Added useInput hook
1 parent c28f942 commit cf45c35

12 files changed

+17
-17
lines changed

docs/interfaces/_hooks_useinput_.handler.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ <h3>on<wbr>Change</h3>
107107
<div class="tsd-signature tsd-kind-icon">on<wbr>Change<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
108108
<aside class="tsd-sources">
109109
<ul>
110-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useInput.ts#L7">hooks/useInput.ts:7</a></li>
110+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useInput.ts#L7">hooks/useInput.ts:7</a></li>
111111
</ul>
112112
</aside>
113113
<div class="tsd-type-declaration">
@@ -138,7 +138,7 @@ <h3>value</h3>
138138
<div class="tsd-signature tsd-kind-icon">value<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T</span></div>
139139
<aside class="tsd-sources">
140140
<ul>
141-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useInput.ts#L6">hooks/useInput.ts:6</a></li>
141+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useInput.ts#L6">hooks/useInput.ts:6</a></li>
142142
</ul>
143143
</aside>
144144
</section>

docs/interfaces/_hooks_usekeyboardshortcuts_.keyboardshortcut.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h3>action</h3>
9999
<div class="tsd-signature tsd-kind-icon">action<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
100100
<aside class="tsd-sources">
101101
<ul>
102-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useKeyboardShortcuts.ts#L5">hooks/useKeyboardShortcuts.ts:5</a></li>
102+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useKeyboardShortcuts.ts#L5">hooks/useKeyboardShortcuts.ts:5</a></li>
103103
</ul>
104104
</aside>
105105
<div class="tsd-type-declaration">
@@ -124,7 +124,7 @@ <h3>keys</h3>
124124
<div class="tsd-signature tsd-kind-icon">keys<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
125125
<aside class="tsd-sources">
126126
<ul>
127-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useKeyboardShortcuts.ts#L4">hooks/useKeyboardShortcuts.ts:4</a></li>
127+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useKeyboardShortcuts.ts#L4">hooks/useKeyboardShortcuts.ts:4</a></li>
128128
</ul>
129129
</aside>
130130
</section>

docs/modules/_hooks_usedevicemotion_.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> use<wbr>Device<wbr>Motion</
9191
<li class="tsd-description">
9292
<aside class="tsd-sources">
9393
<ul>
94-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useDeviceMotion.ts#L3">hooks/useDeviceMotion.ts:3</a></li>
94+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useDeviceMotion.ts#L3">hooks/useDeviceMotion.ts:3</a></li>
9595
</ul>
9696
</aside>
9797
<h4 class="tsd-parameters-title">Parameters</h4>

docs/modules/_hooks_useinput_.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h3>On<wbr>Change<wbr>Event</h3>
9999
<div class="tsd-signature tsd-kind-icon">On<wbr>Change<wbr>Event<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ChangeEvent</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">HTMLInputElement</span><span class="tsd-signature-symbol">&gt;</span></div>
100100
<aside class="tsd-sources">
101101
<ul>
102-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useInput.ts#L3">hooks/useInput.ts:3</a></li>
102+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useInput.ts#L3">hooks/useInput.ts:3</a></li>
103103
</ul>
104104
</aside>
105105
</section>
@@ -116,7 +116,7 @@ <h3>use<wbr>Input</h3>
116116
<li class="tsd-description">
117117
<aside class="tsd-sources">
118118
<ul>
119-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useInput.ts#L10">hooks/useInput.ts:10</a></li>
119+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useInput.ts#L10">hooks/useInput.ts:10</a></li>
120120
</ul>
121121
</aside>
122122
<h4 class="tsd-type-parameters-title">Type parameters</h4>

docs/modules/_hooks_useinterval_.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h3>Callable</h3>
9393
<div class="tsd-signature tsd-kind-icon">Callable<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
9494
<aside class="tsd-sources">
9595
<ul>
96-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useInterval.ts#L3">hooks/useInterval.ts:3</a></li>
96+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useInterval.ts#L3">hooks/useInterval.ts:3</a></li>
9797
</ul>
9898
</aside>
9999
<div class="tsd-type-declaration">
@@ -125,7 +125,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> use<wbr>Interval</h3>
125125
<li class="tsd-description">
126126
<aside class="tsd-sources">
127127
<ul>
128-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useInterval.ts#L5">hooks/useInterval.ts:5</a></li>
128+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useInterval.ts#L5">hooks/useInterval.ts:5</a></li>
129129
</ul>
130130
</aside>
131131
<h4 class="tsd-parameters-title">Parameters</h4>

docs/modules/_hooks_usekeyboardinput_.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> use<wbr>Keyboard<wbr>Input<
9191
<li class="tsd-description">
9292
<aside class="tsd-sources">
9393
<ul>
94-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useKeyboardInput.ts#L3">hooks/useKeyboardInput.ts:3</a></li>
94+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useKeyboardInput.ts#L3">hooks/useKeyboardInput.ts:3</a></li>
9595
</ul>
9696
</aside>
9797
<h4 class="tsd-parameters-title">Parameters</h4>

docs/modules/_hooks_usekeyboardshortcuts_.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> use<wbr>Keyboard<wbr>Shortc
9797
<li class="tsd-description">
9898
<aside class="tsd-sources">
9999
<ul>
100-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useKeyboardShortcuts.ts#L8">hooks/useKeyboardShortcuts.ts:8</a></li>
100+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useKeyboardShortcuts.ts#L8">hooks/useKeyboardShortcuts.ts:8</a></li>
101101
</ul>
102102
</aside>
103103
<h4 class="tsd-parameters-title">Parameters</h4>

docs/modules/_hooks_useprevious_.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> use<wbr>Previous</h3>
9191
<li class="tsd-description">
9292
<aside class="tsd-sources">
9393
<ul>
94-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/usePrevious.ts#L3">hooks/usePrevious.ts:3</a></li>
94+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/usePrevious.ts#L3">hooks/usePrevious.ts:3</a></li>
9595
</ul>
9696
</aside>
9797
<h4 class="tsd-type-parameters-title">Type parameters</h4>

docs/modules/_hooks_useraf_.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> use<wbr>Raf</h3>
9191
<li class="tsd-description">
9292
<aside class="tsd-sources">
9393
<ul>
94-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useRaf.ts#L3">hooks/useRaf.ts:3</a></li>
94+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useRaf.ts#L3">hooks/useRaf.ts:3</a></li>
9595
</ul>
9696
</aside>
9797
<h4 class="tsd-parameters-title">Parameters</h4>

docs/modules/_hooks_useresize_.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> use<wbr>Resize</h3>
9191
<li class="tsd-description">
9292
<aside class="tsd-sources">
9393
<ul>
94-
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/a960146/src/hooks/useResize.ts#L3">hooks/useResize.ts:3</a></li>
94+
<li>Defined in <a href="https://github.com/Liinkiing/react-hooks/blob/c28f942/src/hooks/useResize.ts#L3">hooks/useResize.ts:3</a></li>
9595
</ul>
9696
</aside>
9797
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">object</span></h4>

0 commit comments

Comments
 (0)