UNPKG

@base-framework/organisms

Version:

This will add default organisms to the base framework.

3 lines (2 loc) 451 B
import{Div as a,Td as d,Tr as w}from"@base-framework/atoms";var c=({columnCount:n=3,customCell:e,key:o})=>{let l=r=>{if(e&&typeof e=="function")return e(r);let t=["w-3/4","w-1/2","w-full","w-2/3","w-5/6"],s=t[r%t.length];return d({class:"px-6 py-4"},[a({class:`${s} h-4 bg-muted animate-pulse rounded-md`})])};return w({class:"border-b",key:o},Array.from({length:n},(r,t)=>l(t)))},p=c;export{c as a,p as b}; //# sourceMappingURL=chunk-HBN3WP3J.js.map