UNPKG

@sparkpost/matchbox

Version:
15 lines (14 loc) 378 B
import { Breakpoints } from '../helpers/types'; /** * Hook that returns token breakpoint status based on window width * * @example * const breakpoint = useBreakpoint(); * * Possible `breakpoint` values: * ['xl', 'lg', 'md', 'sm', 'xs', 'default']; * * @see https://usehooks.com/useMedia/ */ declare function useBreakpoint(): Breakpoints; export default useBreakpoint;