open-nomad/ui/app/components/toggle.js
2020-01-23 16:34:27 -08:00

10 lines
216 B
JavaScript

import Component from '@ember/component';
export default Component.extend({
tagName: 'label',
classNames: ['toggle'],
classNameBindings: ['isDisabled:is-disabled', 'isActive:is-active'],
onToggle() {},
});