@tarojs/components
Version:
7 lines • 1.06 kB
JavaScript
function createCommonjsModule(r,t,e){return e={path:t,exports:{},require:function(r,t){return commonjsRequire()}},r(e,e.exports),e.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var classnames=createCommonjsModule((function(r){
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
(function(){var t={}.hasOwnProperty;function e(){var r="";for(var t=0;t<arguments.length;t++){var e=arguments[t];if(e){r=o(r,n(e))}}return r}function n(r){if(typeof r==="string"||typeof r==="number"){return r}if(typeof r!=="object"){return""}if(Array.isArray(r)){return e.apply(null,r)}if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){return r.toString()}var n="";for(var i in r){if(t.call(r,i)&&r[i]){n=o(n,i)}}return n}function o(r,t){if(!t){return r}if(r){return r+" "+t}return r+t}if(r.exports){e.default=e;r.exports=e}else{window.classNames=e}})()}));export{classnames as c};