@zohodesk/components
Version:
Dot UI is a customizable React component library built to deliver a clean, accessible, and developer-friendly UI experience. It offers a growing set of reusable components designed to align with modern design systems and streamline application development
6 lines • 303 B
JavaScript
import { getLibraryConfig } from "../../Provider/Config";
import { isMobilePopover as isMobile } from '@zohodesk/dotkit/es/utils/device.js';
export default function isMobilePopover(needResponsive) {
const mobileWidth = getLibraryConfig('mobileWidth');
return isMobile(needResponsive, mobileWidth);
}