1 | import React from 'react';
|
2 | import type { FC, ReactNode } from 'react';
|
3 | import { NativeProps } from '../../utils/native-props';
|
4 | export declare type GridProps = {
|
5 | columns: number;
|
6 | gap?: number | string | [number | string, number | string];
|
7 | children?: ReactNode;
|
8 | } & NativeProps<'--gap' | '--gap-vertical' | '--gap-horizontal'>;
|
9 | export declare const Grid: FC<GridProps>;
|
10 | export declare type GridItemProps = {
|
11 | span?: number;
|
12 | onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
13 | children?: ReactNode;
|
14 | } & NativeProps;
|
15 | export declare const GridItem: FC<GridItemProps>;
|