@greensight/gds
Version:
Greensight Design System
9 lines (8 loc) • 430 B
TypeScript
import { ElementType, Ref } from 'react';
import { type IGridLayoutProps } from './types';
/**
* Grid layout component
*/
declare const GridComponent: <P extends ElementType = "div">({ as: ComponentProp, cols, gap, rows, justify, align, className, children, ...props }: IGridLayoutProps<P>, ref: Ref<P>) => import("@emotion/react/jsx-runtime").JSX.Element;
declare const GridLayout: typeof GridComponent;
export { GridLayout };