import * as r from "react";
import f from "../../../../../../../../../_virtual/index9.js";
import { extractProps as p } from "../helpers/extract-props.js";
import { layoutPropDefs as l } from "../props/layout.props.js";
import { marginPropDefs as i } from "../props/margin.props.js";
import { Slot as c } from "../../../../../../../@radix-ui_react-slot@1.1.0_@types_react@18.3.3_react@18.3.0-canary-3d9b20132-20240124/node_modules/@radix-ui/react-slot/dist/index.js";
import { flexPropDefs as x } from "./flex.props.js";
const n = r.forwardRef((o, a) => {
  const { className: e, asChild: m, as: s = "div", ...t } = p(o, x, l, i);
  return r.createElement(m ? c : s, { ...t, ref: a, className: f("rt-Flex", e) });
});
n.displayName = "Flex";
export {
  n as Flex
};
//# sourceMappingURL=flex.js.map
