UNPKG

@undp/design-system-react

Version:

React based design system for UNDP

2 lines 491 B
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./utils-Dd9-5CFr.cjs");let t=require("react/jsx-runtime");function n({sdgList:n,barClassName:r,...i}){return(0,t.jsx)(`div`,{...i,className:e.t(`flex w-full flex-nowrap gap-0`,i.className),children:(n||[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]).map(n=>(0,t.jsx)(`div`,{style:{backgroundColor:`var(--sdg-${n})`},className:e.t(`h-4 grow`,r)},n))})}exports.SdgBorder=n; //# sourceMappingURL=SDGBorder.cjs.map