UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

6 lines (5 loc) 286 B
import { UseMediaQueryOptions } from '@mantine/hooks'; import { MantineBreakpoint } from '../theme.types'; type UseMatchesInput<T> = Partial<Record<MantineBreakpoint, T>>; export declare function useMatches<T>(payload: UseMatchesInput<T>, options?: UseMediaQueryOptions): T; export {};