Skip to content

Commit 09a4b89

Browse files
committed
m
2 parents 43e02e8 + 93f2a55 commit 09a4b89

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)