Skip to content

Commit 93f2a55

Browse files
authored
Update src/useKeyboard.ts
1 parent 78150c4 commit 93f2a55

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/useKeyboard.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
import {useEffect, useState} from 'react'
22
import {Keyboard, KeyboardEventListener, ScreenRect} from 'react-native'
33

4-
const emptyCoordinates = Object.freeze({ screenX: 0, screenY: 0, width: 0, height: 0})
4+
const emptyCoordinates = Object.freeze({
5+
screenX: 0,
6+
screenY: 0,
7+
width: 0,
8+
height: 0,
9+
})
510
const initialValue = {
611
start: emptyCoordinates,
712
end: emptyCoordinates,

0 commit comments

Comments
 (0)