UNPKG

carbon-components

Version:

Carbon Components is a component library for IBM Cloud

41 lines (38 loc) 957 B
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; var _require = require('../../globals/js/settings'), prefix = _require.prefix; var _require2 = require('../../globals/js/feature-flags'), componentsX = _require2.componentsX; module.exports = { context: { prefix: prefix, componentsX: componentsX }, variants: [{ name: 'default', label: 'Loading', notes: "\n Loading spinners are used when retrieving data or performing slow computations,\n and help to notify users that loading is underway.\n ", context: { overlay: true } }, { name: 'without-overlay', label: 'Without overlay', context: { overlay: false } }, { name: 'small', label: 'Small', context: { overlay: false, small: true } }] };