carbon-components
Version:
Carbon Components is a component library for IBM Cloud
29 lines (28 loc) • 807 B
JavaScript
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(['module'], factory);
} else if (typeof exports !== "undefined") {
factory(module);
} else {
var mod = {
exports: {}
};
factory(mod);
global.numberInputConfig = mod.exports;
}
})(this, function (module) {
'use strict';
module.exports = {
variants: [{
name: 'default',
label: 'Number Input',
notes: '\n Number inputs are similar to text fields, but contain controls used to increase or decrease an incremental value.\n The Number Input component can be passed a starting value, a min, a max, and the step.\n '
}, {
name: 'light',
label: 'Number Input (Light)',
context: {
light: true
}
}]
};
});