import _extends from "@babel/runtime/helpers/extends";

var __rest = this && this.__rest || function (s, e) {
  var t = {};

  for (var p in s) {
    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
  }

  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
  }
  return t;
}; // Generated by `npm run icon`, don't modify this file


import React from 'react';
import Base from './_base';

var Flag = function Flag(props) {
  var _props$className = props.className,
      className = _props$className === void 0 ? null : _props$className,
      other = __rest(props, ["className"]);

  return /*#__PURE__*/React.createElement(Base, _extends({
    viewBox: "0 0 16 16",
    className: "cuk2-icon-flag ".concat(className)
  }, other), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
    d: "M2.5 15a.5.5 0 01-.5.5h-.5A.5.5 0 011 15V1a.5.5 0 01.5-.5H2a.5.5 0 01.5.5h8a1 1 0 01.993.883L11.5 2v1.5H14a1 1 0 01.993.883L15 4.5v7a1 1 0 01-.883.993L14 12.5H5.5a1 1 0 01-.993-.883L4.5 11.5v-2h-2V15zm11-10h-2v3.5a1 1 0 01-.883.993L10.5 9.5H6V11h7.5V5zM10 2.5H2.5V8H10V2.5z",
    fillRule: "evenodd"
  })));
};

export default Flag;