@@ -924,7 +924,6 @@ export const SidebarDivider: React_2.ComponentType<
|
||||
| 'contentEditable'
|
||||
| 'inputMode'
|
||||
| 'tabIndex'
|
||||
| 'onError'
|
||||
| 'defaultChecked'
|
||||
| 'defaultValue'
|
||||
| 'suppressContentEditableWarning'
|
||||
@@ -1032,6 +1031,7 @@ export const SidebarDivider: React_2.ComponentType<
|
||||
| 'onInvalidCapture'
|
||||
| 'onLoad'
|
||||
| 'onLoadCapture'
|
||||
| 'onError'
|
||||
| 'onErrorCapture'
|
||||
| 'onKeyDown'
|
||||
| 'onKeyDownCapture'
|
||||
@@ -1286,7 +1286,6 @@ export const SidebarScrollWrapper: React_2.ComponentType<
|
||||
| 'contentEditable'
|
||||
| 'inputMode'
|
||||
| 'tabIndex'
|
||||
| 'onError'
|
||||
| 'defaultChecked'
|
||||
| 'defaultValue'
|
||||
| 'suppressContentEditableWarning'
|
||||
@@ -1394,6 +1393,7 @@ export const SidebarScrollWrapper: React_2.ComponentType<
|
||||
| 'onInvalidCapture'
|
||||
| 'onLoad'
|
||||
| 'onLoadCapture'
|
||||
| 'onError'
|
||||
| 'onErrorCapture'
|
||||
| 'onKeyDown'
|
||||
| 'onKeyDownCapture'
|
||||
@@ -1561,7 +1561,6 @@ export const SidebarSpace: React_2.ComponentType<
|
||||
| 'contentEditable'
|
||||
| 'inputMode'
|
||||
| 'tabIndex'
|
||||
| 'onError'
|
||||
| 'defaultChecked'
|
||||
| 'defaultValue'
|
||||
| 'suppressContentEditableWarning'
|
||||
@@ -1669,6 +1668,7 @@ export const SidebarSpace: React_2.ComponentType<
|
||||
| 'onInvalidCapture'
|
||||
| 'onLoad'
|
||||
| 'onLoadCapture'
|
||||
| 'onError'
|
||||
| 'onErrorCapture'
|
||||
| 'onKeyDown'
|
||||
| 'onKeyDownCapture'
|
||||
@@ -1835,7 +1835,6 @@ export const SidebarSpacer: React_2.ComponentType<
|
||||
| 'contentEditable'
|
||||
| 'inputMode'
|
||||
| 'tabIndex'
|
||||
| 'onError'
|
||||
| 'defaultChecked'
|
||||
| 'defaultValue'
|
||||
| 'suppressContentEditableWarning'
|
||||
@@ -1943,6 +1942,7 @@ export const SidebarSpacer: React_2.ComponentType<
|
||||
| 'onInvalidCapture'
|
||||
| 'onLoad'
|
||||
| 'onLoadCapture'
|
||||
| 'onError'
|
||||
| 'onErrorCapture'
|
||||
| 'onKeyDown'
|
||||
| 'onKeyDownCapture'
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
import { useEffect, RefObject, useState } from 'react';
|
||||
|
||||
export const useHover = (ref: RefObject<HTMLInputElement> ) => {
|
||||
export const useHover = (ref: RefObject<HTMLInputElement>) => {
|
||||
const [value, setValue] = useState(false);
|
||||
|
||||
const handleMouseOver = () => setValue(true);
|
||||
|
||||
Reference in New Issue
Block a user