module.exports = {
getTypeClass: function(type, plain) {
return plain ? 'tui-' + type + '-outline' : 'tui-' + type
},
getClassName: function(shape, plain) {
//circle, square,circleLeft,circleRight
var className = plain ? 'tui-tag-outline ' : '';
if (shape != 'square') {
if (shape == "circle") {
className = className + (plain ? 'tui-tag-outline-fillet' : 'tui-tag-fillet');
} else if (shape == "circleLeft") {
className = className + 'tui-tag-fillet-left';
} else if (shape == "circleRight") {
className = className + 'tui-tag-fillet-right';
}
}
return className;
}
}