You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base-theme.js 424B

123456789101112131415161718
  1. 'use strict'
  2. var spin = require('./spin.js')
  3. var progressBar = require('./progress-bar.js')
  4. module.exports = {
  5. activityIndicator: function (values, theme, width) {
  6. if (values.spun == null) {
  7. return
  8. }
  9. return spin(theme, values.spun)
  10. },
  11. progressbar: function (values, theme, width) {
  12. if (values.completed == null) {
  13. return
  14. }
  15. return progressBar(theme, width, values.completed)
  16. },
  17. }