@grandlinex/react-components
Version:
27 lines (26 loc) • 820 B
TypeScript
import React, { HTMLAttributes } from 'react';
import { CnxInput } from '../../util';
export type GridProps = React.PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'className'> & {
divRef?: React.Ref<HTMLDivElement>;
className?: CnxInput | CnxInput[];
flex?: boolean;
flexRow?: boolean;
flexR?: boolean;
fullWidth?: boolean;
fullHeight?: boolean;
flexMobile?: boolean;
flexColumn?: boolean;
flexC?: boolean;
flexStart?: boolean;
flexEnd?: boolean;
flexSpaceA?: boolean;
flexSpaceB?: boolean;
flexWrap?: boolean;
center?: boolean;
vCenter?: boolean;
hCenter?: boolean;
gap?: 0 | 2 | 4 | 6 | 8 | 10 | 12 | 24;
grow?: 0 | 1 | 2;
layOut?: '1-3' | '2-3' | '1-2';
}>;
export declare function Grid(props: GridProps): React.JSX.Element;