'use strict';

var normalizeComponent = require('./normalize-component-6fa50395.js');
var ThemeMixin = require('./ThemeMixin-37dd1318.js');

//
var script = {
  name: 'SvgAtom',
  props: {
    width: {
      type: String,
      default: '100%'
    },
    height: {
      type: String,
      default: '100%'
    },
    name: {
      type: String,
      required: true
    }
  },
  computed: {
    svgAtomCssClass: function svgAtomCssClass() {
      return Object.assign(this.themeCssClass, {});
    },
    iconId: function iconId() {
      return "#endpass-ui-icon-".concat(this.name);
    }
  },
  mixins: [ThemeMixin.ThemeMixin]
};

/* script */
const __vue_script__ = script;

/* template */
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:"svg-atom",class:_vm.svgAtomCssClass,attrs:{"width":_vm.width,"height":_vm.height}},[_c('use',{attrs:{"x":"0","y":"0","xlink:href":_vm.iconId}})])};
var __vue_staticRenderFns__ = [];

  /* style */
  const __vue_inject_styles__ = undefined;
  /* scoped */
  const __vue_scope_id__ = undefined;
  /* module identifier */
  const __vue_module_identifier__ = undefined;
  /* functional template */
  const __vue_is_functional_template__ = false;
  /* style inject */
  
  /* style inject SSR */
  

  
  var SvgAtom = normalizeComponent.__vue_normalize__(
    { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
    __vue_inject_styles__,
    __vue_script__,
    __vue_scope_id__,
    __vue_is_functional_template__,
    __vue_module_identifier__,
    undefined,
    undefined
  );

exports.SvgAtom = SvgAtom;
