source: trip-planner-front/node_modules/gauge/base-theme.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 395 bytes
Line 
1'use strict'
2var spin = require('./spin.js')
3var progressBar = require('./progress-bar.js')
4
5module.exports = {
6 activityIndicator: function (values, theme, width) {
7 if (values.spun == null) return
8 return spin(theme, values.spun)
9 },
10 progressbar: function (values, theme, width) {
11 if (values.completed == null) return
12 return progressBar(theme, width, values.completed)
13 }
14}
Note: See TracBrowser for help on using the repository browser.