UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

9 lines (8 loc) 212 B
import { Platform } from 'react-native'; export function canUseDom() { if (typeof window !== 'undefined' || Platform.OS !== 'web') { return true; } return false; } //# sourceMappingURL=canUseDom.js.map