@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
16 lines (15 loc) • 628 B
TypeScript
import type { PropsFor } from "../../types.js";
export type AutoColProps = PropsFor<"div", {
/** Gap css string, or number in px (12px default) */
gap?: string | number;
/** Column width number in px (300px default) or a css length string */
width?: string | number;
}>;
/**
* Responsive CSS Grid layout container, renders its children as columns based
* on a column width (300px columns by default)
*
* @see https://bifrost.intility.com/react/autoCol
*/
declare const AutoCol: import("react").ForwardRefExoticComponent<AutoColProps & import("react").RefAttributes<HTMLDivElement>>;
export default AutoCol;