MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / useIsDesktop

Function useIsDesktop

ui/src/App.tsx:44–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 * - ≥1180 (roomy desktop): rail can expand to text labels.
43 */
44const useIsDesktop = () => useMediaQuery('(min-width: 768px)') // rail static
45const useIsRoomy = () => useMediaQuery('(min-width: 1180px)') // text rail allowed
46
47export function App() {

Callers 1

AppShellFunction · 0.70

Calls 1

useMediaQueryFunction · 0.85

Tested by

no test coverage detected