<template functional>
  <span :aria-hidden="props.decorative"
        :aria-label="props.title"
        :class="[data.class, data.staticClass]"
        class="material-design-icon boom-gate-alert-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="M19.86,3C19.31,2.04 18.09,1.71 17.12,2.27L6.92,8.16C6.62,8.06 6.31,8 6,8C4.34,8 3,9.34 3,11V20C2.45,20 2,20.45 2,21V22H10V21C10,20.45 9.55,20 9,20V11.58L19.12,5.73C20.08,5.18 20.41,3.96 19.86,3M6,12.5C5.17,12.5 4.5,11.83 4.5,11C4.5,10.17 5.17,9.5 6,9.5C6.83,9.5 7.5,10.17 7.5,11C7.5,11.83 6.83,12.5 6,12.5M10.4,9.62L8.1,8.62L9.4,7.87L11.7,8.87L10.4,9.62M13.86,7.62L11.56,6.62L12.86,5.87L15.16,6.87L13.86,7.62M17.33,5.62L15.03,4.62L16.33,3.87L18.62,4.87L17.33,5.62M20,18H18V20H20V18M20,11H18V16H20V11Z">
        <title>{{ props.title }}</title>
      </path>
    </svg>
  </span>
</template>

<script>
export default {
  name: "BoomGateAlertIcon",
  props: {
    title: {
      type: String,
      default: "Boom Gate Alert icon"
    },
    decorative: {
      type: Boolean,
      default: false
    },
    fillColor: {
      type: String,
      default: "currentColor"
    },
    size: {
      type: Number,
      default: 24
    }
  }
}
</script>