UNPKG

classix

Version:

The fastest and tiniest utility for conditionally joining classNames.

2 lines (1 loc) 151 B
function t(){let t,e="",n=0;for(;n<arguments.length;)(t=arguments[n++])&&"string"==typeof t&&(e&&(e+=" "),e+=t);return e}export{t as cx,t as default};