Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / dist / components / atoms / Icons / FlagIcon / UKFlagIcon / UKFlagIcon.js
Size: Mime:
"use strict";

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

const tslib_1 = require("tslib");

const react_1 = tslib_1.__importDefault(require("react"));

const Vector_1 = tslib_1.__importDefault(require("../../../Vector"));

const wording = {
  title: 'UK Flag Icon',
  description: 'A icon, representing a united kingdom flag.'
};

class UKFlagIcon extends react_1.default.PureComponent {
  render() {
    return react_1.default.createElement(Vector_1.default, Object.assign({}, this.props, wording, {
      vectorClassName: 'ukflagicon'
    }), react_1.default.createElement("path", {
      d: "M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z"
    }), react_1.default.createElement("path", {
      d: "M0,0 v30 h60 v-30 z",
      fill: "#00247d"
    }), react_1.default.createElement("path", {
      d: "M0,0 L60,30 M60,0 L0,30",
      stroke: "#fff",
      strokeWidth: "6"
    }), react_1.default.createElement("path", {
      d: "M0,0 L60,30 M60,0 L0,30",
      clipPath: "url(#t)",
      stroke: "#cf142b",
      strokeWidth: "4"
    }), react_1.default.createElement("path", {
      d: "M30,0 v30 M0,15 h60",
      stroke: "#fff",
      strokeWidth: "10"
    }), react_1.default.createElement("path", {
      d: "M30,0 v30 M0,15 h60",
      stroke: "#cf142b",
      strokeWidth: "6"
    }));
  }

}

UKFlagIcon.defaultProps = {
  width: '60px',
  height: '30px',
  viewBox: '0 0 60 30'
};
exports.UKFlagIcon = UKFlagIcon;
exports.default = UKFlagIcon; //# sourceMappingURL=UKFlagIcon.js.map