Skip to content

Commit 4196613

Browse files
committed
remove export default in use keboard
1 parent b2da8a5 commit 4196613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/useKeyboard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const initialValue = {
66
end: {screenX: 0, screenY: 0, width: 0, height: 0},
77
}
88

9-
export default function useKeyboard() {
9+
export function useKeyboard() {
1010
const [shown, setShown] = useState(false)
1111
const [coordinates, setCoordinates] = useState<{
1212
start: ScreenRect

0 commit comments

Comments
 (0)