Press ESC to close

dimensions is not defined react native