@while-and-for/tremor-react
Version:
The React library to build dashboards faster.
2 lines (1 loc) • 653 B
JavaScript
import{__rest as e}from"tslib";import t from"react";import{spacing as r}from"../../../lib/spacing.js";import{makeClassName as a}from"../../../lib/utils.js";import{tremorTwMerge as o}from"../../../lib/tremorTwMerge.js";const l=a("TableHeaderCell"),m=t.forwardRef(((a,m)=>{const{children:n,className:s}=a,i=e(a,["children","className"]);return t.createElement(t.Fragment,null,t.createElement("th",Object.assign({ref:m,className:o(l("root"),"sticky whitespace-nowrap text-left font-semibold","text-tremor-content","dark:text-dark-tremor-content",r.none.top,r.twoXl.paddingX,r.xl.paddingY,s)},i),n))}));m.displayName="TableHeaderCell";export{m as default};