"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getIconColor = void 0;

/* tslint:disable */

/* eslint-disable */
var getIconColor = function getIconColor(color, index, defaultColor) {
  return color ? typeof color === 'string' ? color : color[index] || defaultColor : defaultColor;
};

exports.getIconColor = getIconColor;