define('@cardstack/tools/components/cs-editor-switch', ['exports', '@cardstack/tools/templates/components/cs-editor-switch'], function (exports, _csEditorSwitch) {
  'use strict';

  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = Ember.Component.extend({
    layout: _csEditorSwitch.default,
    classNames: ['cs-editor-switch'],
    tools: Ember.inject.service('cardstack-tools'),
    actions: {
      setEditing: function setEditing(value) {
        this.get('tools').setEditing(value);
      }
    }
  });
});