useResponsiveQuery
Specification
Definition
type UseResponsiveQuery = (
params: UseResponsiveQueryParams,
initialMatches: boolean
) => boolean
interface UseResponsiveQueryParams {
for: BreakpointRef
from: BreakpointRef
to: BreakpointRef
except: boolean
}
type BreakpointRef = MediaQuery | stringExamples
Last updated