/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-b67433b | Cube Dev Team */
import { extractStyles } from "../../utils/styles.js";
import { CONTAINER_STYLES, filterBaseProps, tasty } from "@tenphi/tasty";
import { forwardRef } from "react";
import { jsx } from "react/jsx-runtime";

//#region src/components/layout/Flex.tsx
const FlexElement = tasty({ styles: {
	display: "flex",
	flow: "row"
} });
const Flex = forwardRef(function Flex(props, ref) {
	const styles = extractStyles(props, CONTAINER_STYLES);
	return /* @__PURE__ */ jsx(FlexElement, {
		...filterBaseProps(props, { eventProps: true }),
		ref,
		styles
	});
});

//#endregion
export { Flex };
//# sourceMappingURL=Flex.js.map