fui-fancyui
Version:
FancyUI Libary
26 lines (25 loc) • 823 B
TypeScript
import { CSSProp } from 'styled-components';
import { TThemeArrayOrValueCSS } from '../../../design/designFunctions/arrayToCssValues';
import { TThemeValueOrCSS } from '../../../design/designFunctions/getThemeOrValueAsCss';
export interface ICustomBreakpoint {
breakpoint: string;
gridSize: number;
gap?: string;
columns?: number;
rows?: string[];
rowGap?: string;
columnGap?: string;
}
export interface FancyGridProps {
simpleGrid?: number;
gap?: string;
padding?: TThemeArrayOrValueCSS;
margin?: TThemeArrayOrValueCSS;
gridTemplateRows?: (string | number)[];
gridTemplateColumns?: (string | number)[];
rowGap?: TThemeValueOrCSS;
columnGap?: TThemeValueOrCSS;
children?: React.ReactNode;
externalStyle?: CSSProp;
breakpoints?: ICustomBreakpoint[];
}