Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / dist / components / molecules / MeterBar / deps / getBarCountPosition.js
Size: Mime:
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
/**
 *
 * @param alignType prefix | suffix
 * receives the align type as a string format
 * and return the flex order index value to position the element
 */

function getBarCountPosition(alignType) {
  switch (alignType) {
    case 'prefix':
      return '0';

    case 'suffix':
      return '1';

    default:
      return 'none';
  }
}

exports.getBarCountPosition = getBarCountPosition; //# sourceMappingURL=getBarCountPosition.js.map