MCPcopy Create free account
hub / github.com/OpenSIST/OpenSIST.github.io / useSmallPage

Function useSmallPage

src/Components/common.jsx:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}));
26
27export function useSmallPage() {
28 return useMediaQuery('(max-width:900px)');
29}
30
31export function CollapseSideBar({children, sx}) {
32 const smallPage = useSmallPage();

Callers 5

PostContentFunction · 0.90
TopBarFunction · 0.90
MarkDownEditorFunction · 0.90
AddModifyRecordFunction · 0.90
CollapseSideBarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected