Package Exports
- use-media-antd-query
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (use-media-antd-query) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
use-media-antd-query
An antd compatible media query hooks
Usage
yarn add use-media-antd-queryimport useMediaQuery, { MediaQueryKey } from 'use-media-antd-query';
const colSize = useMediaQuery();
console.log(colSize); // "xs" | "sm" | "md" | "lg" | "xl" | "xxl"LICENSE
MIT