@navikt/aksel
Version:
Aksel command line interface. Codemods and other utilities for Aksel users.
17 lines (16 loc) • 554 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.migrationConfig = void 0;
exports.default = transformer;
const move_variant_to_data_color_1 = require("../../../utils/move-variant-to-data-color");
exports.migrationConfig = {
component: "ToggleGroup",
prop: "variant",
changes: {
action: { color: "accent" },
neutral: { color: "neutral" },
},
};
function transformer(file, api) {
return (0, move_variant_to_data_color_1.moveVariantToDataColor)(file, api, exports.migrationConfig);
}