Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user