import { cs } from "../utils/styles.js";
import "../utils/index.js";
import { omitThemingProps, useStyleConfig } from "../core/theme.js";
import { styled } from "../core/styled.js";
import { vui } from "../core/vui.js";
import "../core/index.js";
import { jsx } from "react/jsx-runtime";

//#region src/grid/grid.tsx
const GridBase = styled.divBox`
  display: grid;
`;
/** Displays a basic grid wrapper. */
const Grid = vui((props, ref) => {
	const { className, ...rest } = omitThemingProps(props);
	const styles = useStyleConfig("Grid", props);
	return /* @__PURE__ */ jsx(GridBase, {
		className: cs("vui-grid", className),
		ref,
		...styles,
		...rest
	});
});
Grid.displayName = "Grid";

//#endregion
export { Grid, GridBase };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=grid.js.map