cartodb-4.42/lib/assets/javascripts/builder/components/no-results/render-no-results.js

17 lines
331 B
JavaScript
Raw Normal View History

2024-04-06 13:25:13 +08:00
var template = require('./no-results.tpl');
/**
* @param {Object} opts
* @param {String=} opts.icon
* @param {String=} opts.title
* @param {String=} opts.desc
*/
module.exports = function (opts) {
return template({
icon: opts.icon || 'CDB-IconFont-cockroach',
title: opts.title || '',
desc: opts.desc
});
};