Created
July 14, 2017 18:12
-
-
Save jasongaare/f201c4b70d7c4764b9e1488c991d4123 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Dimensions } from 'react-native'; | |
const isTablet = Math.min( | |
Dimensions.get('window').width, | |
Dimensions.get('window').height) >= 768; | |
export { isTablet }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment