<template functional>
  <span :aria-hidden="props.decorative"
        :aria-label="props.title"
        :class="[data.class, data.staticClass]"
        class="material-design-icon file-replace-icon"
        role="img"
        @click="listeners.click ? listeners.click : () => true">
    <svg :fill="props.fillColor"
         class="material-design-icon__svg"
         :width="props.size"
         :height="props.size"
         viewBox="0 0 24 24">
      <path d="M14,12H19.5L14,6.5V12M8,5H15L21,11V21C21,22.1 20.1,23 19,23H8C6.89,23 6,22.1 6,21V18H11V20L15,17L11,14V16H6V7C6,5.9 6.9,5 8,5M13.5,3H4V16H6V18H4C2.9,18 2,17.1 2,16V3C2,1.9 2.9,1 4,1H11.5L13.5,3Z">
        <title>{{ props.title }}</title>
      </path>
    </svg>
  </span>
</template>

<script>
export default {
  name: "FileReplaceIcon",
  props: {
    title: {
      type: String,
      default: "File Replace icon"
    },
    decorative: {
      type: Boolean,
      default: false
    },
    fillColor: {
      type: String,
      default: "currentColor"
    },
    size: {
      type: Number,
      default: 24
    }
  }
}
</script>