CIA Compliance Manager API Documentation - v1.0.1
    Preparing search index...

    Function useResponsiveBreakpoint

    • Custom hook for detecting current responsive breakpoint

      This hook enables widgets to adapt their layout and content based on device size, ensuring optimal user experience for security officers and executives accessing the application from different devices. 📱💻

      Responsive design is critical for modern security dashboards that need to be accessible on mobile devices during incident response.

      Returns Breakpoint

      Current breakpoint ('mobile', 'tablet', or 'desktop')

      const breakpoint = useResponsiveBreakpoint();

      return (
      <div>
      {breakpoint === 'mobile' && <MobileLayout />}
      {breakpoint === 'tablet' && <TabletLayout />}
      {breakpoint === 'desktop' && <DesktopLayout />}
      </div>
      );