UNPKG

material-components

Version:

Stateless UI components for react that follow material design

17 lines (14 loc) 414 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _exenv = require('exenv'); exports['default'] = { getSize: function getSize() { return { width: _exenv.canUseDOM && (window.innerWidth || document.body.clientWidth) || 1024, height: _exenv.canUseDOM && (window.innerHeight || document.body.clientHeight) || 768 }; } }; module.exports = exports['default'];