UNPKG

formiojs

Version:

Common js library for client side interaction with <form.io>

18 lines (16 loc) 452 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (iconset, name, spinning) { var icons = { 'question-sign': 'question circle', 'remove-circle': 'trash alternate outline', 'cloud-upload': 'cloud upload', 'new-window': 'external alternate' }; if (icons.hasOwnProperty(name)) { name = icons[name]; } return spinning ? 'icon ' + name + ' loading' : 'icon ' + name; };