react-raster
Version:
Advanced grid- and styling-system which is highly customizable and ready for server-side-rendering.
27 lines (26 loc) • 833 B
TypeScript
import React, { HTMLProps } from "react";
import { AlignX, AlignY } from "../alignTypes";
export interface Props extends HTMLProps<HTMLElement> {
alignX?: AlignX | AlignX[];
alignY?: AlignY | AlignY[];
attrs?: object;
bottom?: string | string[];
breakpoints?: number[];
children?: React.ReactNode;
className?: string;
colspan?: number | number[];
component?: React.ReactElement;
control?: boolean;
controlColor?: string;
cssMode?: "grid" | "flex";
gutterX?: string | string[];
gutterY?: string | string[];
isControl?: boolean;
left?: string | string[];
position?: string | string[];
right?: string | string[];
css?: string | string[];
tag?: string;
top?: string | string[];
ref?: React.MutableRefObject<HTMLElement>;
}