@while-and-for/tremor-react
Version:
The React library to build dashboards faster.
2 lines (1 loc) • 513 B
JavaScript
import{__rest as e}from"tslib";import t from"react";import{makeClassName as r}from"../../../lib/utils.js";import{tremorTwMerge as a}from"../../../lib/tremorTwMerge.js";const o=r("TableHead"),l=t.forwardRef(((r,l)=>{const{children:m,className:s}=r,n=e(r,["children","className"]);return t.createElement(t.Fragment,null,t.createElement("thead",Object.assign({ref:l,className:a(o("root"),"text-left","text-tremor-content","dark:text-dark-tremor-content",s)},n),m))}));l.displayName="TableHead";export{l as default};