carbon-components
Version:
Carbon Components is a component library for IBM Cloud
22 lines (20 loc) • 480 B
JavaScript
module.exports = {
variants: [
{
name: 'default',
label: 'Number Input',
notes: `
Number inputs are similar to text fields, but contain controls used to increase or decrease an incremental value.
The Number Input component can be passed a starting value, a min, a max, and the step.
`,
},
{
name: 'light',
label: 'Number Input (Light)',
context: {
light: true,
},
},
],
};
;