@harvest-profit/npk
Version:
NPK UI Design System
69 lines • 3.86 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.attemptFilledIconForIcon = attemptFilledIconForIcon;
__exportStar(require("./regular/index"), exports);
const CropIcon_1 = __importDefault(require("./regular/CropIcon"));
const CropFilledIcon_1 = __importDefault(require("./regular/CropFilledIcon"));
const SettingsIcon_1 = __importDefault(require("./regular/SettingsIcon"));
const SettingsFilledIcon_1 = __importDefault(require("./regular/SettingsFilledIcon"));
const HomeFeatureIcon_1 = __importDefault(require("./regular/HomeFeatureIcon"));
const HomeFeatureFilledIcon_1 = __importDefault(require("./regular/HomeFeatureFilledIcon"));
const FarmIcon_1 = __importDefault(require("./regular/FarmIcon"));
const FarmFilledIcon_1 = __importDefault(require("./regular/FarmFilledIcon"));
const FieldIcon_1 = __importDefault(require("./regular/FieldIcon"));
const FieldFilledIcon_1 = __importDefault(require("./regular/FieldFilledIcon"));
const CropPlannerFeatureIcon_1 = __importDefault(require("./regular/CropPlannerFeatureIcon"));
const CropPlannerFeatureFilledIcon_1 = __importDefault(require("./regular/CropPlannerFeatureFilledIcon"));
const ContractsIcon_1 = __importDefault(require("./regular/ContractsIcon"));
const ContractsFilledIcon_1 = __importDefault(require("./regular/ContractsFilledIcon"));
const FieldOperationsIcon_1 = __importDefault(require("./regular/FieldOperationsIcon"));
const FieldOperationsFilledIcon_1 = __importDefault(require("./regular/FieldOperationsFilledIcon"));
const InputsIcon_1 = __importDefault(require("./regular/InputsIcon"));
const InputsFilledIcon_1 = __importDefault(require("./regular/InputsFilledIcon"));
const ReportsIcon_1 = __importDefault(require("./regular/ReportsIcon"));
const ReportsFilledIcon_1 = __importDefault(require("./regular/ReportsFilledIcon"));
const YieldsIcon_1 = __importDefault(require("./regular/YieldsIcon"));
const YieldsFilledIcon_1 = __importDefault(require("./regular/YieldsFilledIcon"));
function attemptFilledIconForIcon(icon) {
if (icon === CropIcon_1.default)
return CropFilledIcon_1.default;
if (icon === SettingsIcon_1.default)
return SettingsFilledIcon_1.default;
if (icon === HomeFeatureIcon_1.default)
return HomeFeatureFilledIcon_1.default;
if (icon === CropPlannerFeatureIcon_1.default)
return CropPlannerFeatureFilledIcon_1.default;
if (icon === FarmIcon_1.default)
return FarmFilledIcon_1.default;
if (icon === FieldIcon_1.default)
return FieldFilledIcon_1.default;
if (icon === ContractsIcon_1.default)
return ContractsFilledIcon_1.default;
if (icon === FieldOperationsIcon_1.default)
return FieldOperationsFilledIcon_1.default;
if (icon === InputsIcon_1.default)
return InputsFilledIcon_1.default;
if (icon === ReportsIcon_1.default)
return ReportsFilledIcon_1.default;
if (icon === YieldsIcon_1.default)
return YieldsFilledIcon_1.default;
return null;
}
//# sourceMappingURL=index.js.map