import{__rest as e}from"tslib";import t from"react";import{twMerge as r}from"tailwind-merge";import{makeClassName as s}from"../../../lib/utils.js";const i=s("Flex"),n={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly"},l={start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"},o={row:"flex-row",col:"flex-col","row-reverse":"flex-row-reverse","col-reverse":"flex-col-reverse"},a=t.forwardRef(((s,a)=>{const{flexDirection:f="row",justifyContent:c="between",alignItems:m="center",children:u,className:d}=s,w=e(s,["flexDirection","justifyContent","alignItems","children","className"]);return t.createElement("div",Object.assign({ref:a,className:r(i("root"),"flex w-full",o[f],n[c],l[m],d)},w),u)}));a.displayName="Flex";export{a as default};
