@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
31 lines (30 loc) • 1.39 kB
TypeScript
import { ThemeProps, WithoutThemeProps } from "../../core/system/index.types.js";
import { CSSProps, StyleValue } from "../../core/css/index.types.js";
import { Component } from "../../core/components/index.types.js";
import "../../core/index.js";
import { GridProps } from "../grid/grid.js";
import { SimpleGridStyle } from "./simple-grid.style.js";
import "../../index.js";
import * as react2689 from "react";
//#region src/components/simple-grid/simple-grid.d.ts
interface SimpleGridProps extends Omit<WithoutThemeProps<GridProps, SimpleGridStyle>, "columns">, ThemeProps<SimpleGridStyle> {
/**
* The number of columns.
*/
columns?: StyleValue<number>;
/**
* The width at which child elements will break into columns.
* Pass a number for pixel values or a string for any other valid CSS length.
*/
minChildWidth?: CSSProps["minWidth"];
}
declare const SimpleGridPropsContext: react2689.Context<Partial<SimpleGridProps> | undefined>, useSimpleGridPropsContext: () => Partial<SimpleGridProps> | undefined;
/**
* `SimpleGrid` is a component that makes `Grid` simpler and more user-friendly.
*
* @see https://yamada-ui.com/docs/components/simple-grid
*/
declare const SimpleGrid: Component<"div", SimpleGridProps>;
//#endregion
export { SimpleGrid, SimpleGridProps, SimpleGridPropsContext, useSimpleGridPropsContext };
//# sourceMappingURL=simple-grid.d.ts.map