discourse/app/assets/javascripts/wizard/components/wizard-step-form.js.es6

10 lines
284 B
JavaScript

import Component from "@ember/component";
import computed from "ember-addons/ember-computed-decorators";
export default Component.extend({
classNameBindings: [":wizard-step-form", "customStepClass"],
@computed("step.id")
customStepClass: stepId => `wizard-step-${stepId}`
});