discourse/app/assets/javascripts/wizard/components/wizard-step-form.js.es6
2019-11-07 15:38:28 -06:00

10 lines
297 B
JavaScript

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