@web-package/react-widgets
Version:
This is package that provides templates that can significantly reduce CSS development works in a react development environment.
16 lines (15 loc) • 550 B
TypeScript
import { CSSProperties, FunctionComponent, ReactNode, Ref } from "react";
import { DeepOmit, SizeUnit } from "../types";
export interface GridProperties extends DeepOmit<CSSProperties, "display" | "gridTemplateColumns" | "padding" | "margin"> {
ref?: Ref<HTMLElement>;
className?: string;
children?: ReactNode;
rowCount: number;
gap?: SizeUnit;
verticalGap?: string;
horizontalGap?: string;
padding?: string;
margin?: string;
[key: string]: any;
}
export declare const Grid: FunctionComponent<GridProperties>;