import{__rest as e}from"tslib";import t from"react";import{twMerge as r}from"tailwind-merge";import{fontSize as a,fontWeight as l}from"../../../lib/font.js";import{colorPalette as m,DEFAULT_COLOR as o}from"../../../lib/theme.js";import{getColorClassNames as s,makeClassName as i}from"../../../lib/utils.js";const f=i("Table"),c=t.forwardRef(((i,c)=>{const{children:n,className:b}=i,p=e(i,["children","className"]);return t.createElement("div",{className:r(f("root"),"overflow-auto",b)},t.createElement("table",Object.assign({ref:c,className:r(f("table"),"w-full tabular-nums",s(o,m.text).textColor,a.sm,l.sm)},p),n))}));c.displayName="Table";export{c as default};
