UNPKG

@blocklet/ui-react

Version:

Some useful front-end web components that can be used in Blocklets.

13 lines (12 loc) 317 B
import { useTheme as n } from "@arcblock/ux/lib/Theme"; import { useMediaQuery as o } from "@mui/material"; function a() { const e = n(); return [...e.breakpoints.keys].reverse().reduce((r, s) => { const t = o(e.breakpoints.up(s)); return !r && t ? s : r; }, null) || "xs"; } export { a as default };