retabler
Version:
React Component library via Tabler
47 lines (46 loc) • 1.31 kB
TypeScript
import React from "react";
export declare type Size = "0" | "sm" | "md" | "lg";
export interface RowProps {
className?: string;
children: React.ReactNode;
cards?: boolean;
deck?: boolean;
gutters?: boolean;
alignItems?: string;
justifyContent?: boolean;
size?: Size;
style?: React.CSSProperties;
}
export interface ColProps {
className?: string;
children: React.ReactNode;
width?: number;
xs?: number;
sm?: number;
md?: number;
lg?: number;
xl?: number;
xsAuto?: boolean;
smAuto?: boolean;
mdAuto?: boolean;
lgAuto?: boolean;
xlAuto?: boolean;
auto?: boolean;
offset?: number;
offsetXs?: number;
offsetSm?: number;
offsetMd?: number;
offsetLg?: number;
offsetXl?: number;
ignoreCol?: boolean;
}
declare const Grid: {
({ children }: {
children: any;
}): {
children: any;
};
Row: ({ className, children, cards, deck, gutters, alignItems, justifyContent, size, style, }: RowProps) => JSX.Element;
Col: ({ className, children, width, xs, sm, md, lg, xl, xsAuto, smAuto, mdAuto, lgAuto, xlAuto, auto, offset, offsetXs, offsetSm, offsetMd, offsetLg, offsetXl, }: ColProps) => JSX.Element;
};
export default Grid;