UNPKG

@ducor/react

Version:

admin template ui interface

11 lines (10 loc) 470 B
import React, { ReactElement } from "react"; interface BreakpointProps { children: ReactElement; } export type TW_BREAKPOINT = "sm" | "md" | "lg" | "xl" | "2xl"; export type BreakpointState = [breakpoint: TW_BREAKPOINT]; export declare const BreakpointContext: React.Context<BreakpointState | undefined>; export declare const breakpoints: Record<TW_BREAKPOINT, number>; declare const BreakpointProvider: React.FC<BreakpointProps>; export default BreakpointProvider;