UNPKG

@chakra-ui/react

Version:

Responsive and accessible React UI components built with React and Emotion

7 lines (6 loc) • 273 B
export interface UseMediaQueryOptions { fallback?: boolean[] | undefined; ssr?: boolean | undefined; getWindow?: (() => typeof window | undefined) | undefined; } export declare function useMediaQuery(query: string[], options?: UseMediaQueryOptions): boolean[];