"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.formikLabelsToLabels = exports.labelsToFormikValue = void 0;
const labelsToFormikValue = (labels) => Object.keys(labels).map((key) => ({
    key,
    value: labels[key],
}));
exports.labelsToFormikValue = labelsToFormikValue;
const formikLabelsToLabels = (labels) => labels.reduce((acc, curr) => {
    acc[curr.key] = curr.value;
    return acc;
}, {});
exports.formikLabelsToLabels = formikLabelsToLabels;
//# sourceMappingURL=labels.js.map