UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

2 lines (1 loc) 421 B
"use strict";function o(r){var s,n,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r)){var f=r.length;for(s=0;s<f;s++)r[s]&&(n=o(r[s]))&&(t&&(t+=" "),t+=n)}else for(n in r)r[n]&&(t&&(t+=" "),t+=n);return t}function c(){for(var r,s,n=0,t="",f=arguments.length;n<f;n++)(r=arguments[n])&&(s=o(r))&&(t&&(t+=" "),t+=s);return t}const i=(...r)=>c(r);exports.clsx=c;exports.cn=i;