'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var normalizeComponent = require('./normalize-component-6fa50395.js');
var browser = require('./browser-ae6cec24.js');

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var script = {
  name: 'VSvgIcon',
  props: {
    width: {
      type: String,
      default: '20px'
    },
    height: {
      type: String,
      default: '20px'
    },
    fill: {
      type: String,
      default: ''
    },
    iconPath: {
      validator: function validator(value) {
        return !!value.default;
      }
    }
  },
  data: function data() {
    return {
      className: 'v-svg-icon'
    };
  },
  computed: {
    iconUrl: function iconUrl() {
      var url = ((this.iconPath || {}).default || {}).url || null;
      return url;
    }
  }
};

/* script */
const __vue_script__ = script;

/* template */
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.iconUrl)?_c('svg',{class:_vm.className,attrs:{"width":_vm.width,"height":_vm.height,"fill":_vm.fill,"xmlns":"http://www.w3.org/2000/svg"}},[_c('use',{attrs:{"xlink:href":_vm.iconUrl,"xmlns:xlink":"http://www.w3.org/1999/xlink"}})]):_vm._e()};
var __vue_staticRenderFns__ = [];

  /* style */
  const __vue_inject_styles__ = function (inject) {
    if (!inject) return
    inject("data-v-6827e535_0", { source: ".v-svg-icon{margin:0 auto}", map: undefined, media: undefined });

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

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

exports.default = VSvgIcon;
