import{__rest as n}from"tslib";import o from"react";import{twMerge as m}from"tailwind-merge";import{colSpan as r,colSpanSm as e,colSpanMd as l,colSpanLg as a}from"./styles.js";import{makeClassName as t}from"../../../lib/utils.js";const s=t("Col"),i=o.forwardRef(((t,i)=>{const{numColSpan:p=1,numColSpanSm:c,numColSpanMd:u,numColSpanLg:S,children:d,className:C}=t,f=n(t,["numColSpan","numColSpanSm","numColSpanMd","numColSpanLg","children","className"]),g=(n,o)=>n&&Object.keys(o).includes(String(n))?o[n]:"";return o.createElement("div",Object.assign({ref:i,className:m(s("root"),(()=>{const n=g(p,r),o=g(c,e),t=g(u,l),s=g(S,a);return m(n,o,t,s)})(),C)},f),d)}));i.displayName="Col";export{i as default};
