import React from "react"; import { StyledInfoPanelHeader } from "./StyledInfoPanelHeaderLoader"; import RectangleLoader from "../RectangleLoader"; import { isMobile as isMobileRDD } from "react-device-detect"; import { isDesktop as isDesktopUtils, isMobile as isMobileUtils, isTablet as isTabletUtils, } from "@docspace/components/utils/device"; const InfoPanelHeaderLoader = () => { const isTablet = isTabletUtils() || isMobileUtils() || isMobileRDD || !isDesktopUtils(); return (
{!isTablet && (
)}
); }; export default InfoPanelHeaderLoader;