react-raster
Version:
Advanced grid- and styling-system which is highly customizable and ready for server-side-rendering.
22 lines (21 loc) • 536 B
TypeScript
import React from "react";
export interface ContextProps {
breakpoint?: number;
breakpoints?: number[];
currentBreakpoint?: {
index: number;
value: number;
};
gap?: {
row: string;
column: string;
};
colspan?: number;
controlIsVisible?: boolean;
controlColor?: string;
registerChildBox?: () => void;
}
declare const Context: React.Context<ContextProps>;
declare function useRaster(): ContextProps;
export { useRaster };
export default Context;