react-country-flags
Version:
Flags of the world as react components.
31 lines (28 loc) • 1.51 kB
JavaScript
import React from 'react';
const FlagTk = props => (
<svg xmlnsXlink="http://www.w3.org/1999/xlink" viewBox="0 0 1800 900" {...props}>
<defs>
<g id="sfdf72aaf">
<g id="s44464cf3">
<path d="M1 0H0v.5z" transform="translate(0 -.325)" />
<path d="M1 0H0v-.5z" transform="rotate(-36 .5 -.162)" />
</g>
<use xlinkHref="#s44464cf3" transform="rotate(72)" />
<use xlinkHref="#s44464cf3" transform="rotate(144)" />
<use xlinkHref="#s44464cf3" transform="rotate(216)" />
<use xlinkHref="#s44464cf3" transform="rotate(288)" />
</g>
</defs>
<path fill="#00247d" d="M0 0h1800v900H0z" />
<g fill="#fed100">
<path d="M329.376 777.265c-17.934-.15 168.624-99.431 324.77-226.6C858.788 384 1299.54 117.157 1429.115 73.796c13.543-4.532-27.776 23.073-33.14 32.016-138.341 163.74-27.925 472.724 144.973 628.048 51.99 39.763 49.327 41.85 145.707 45.746v9l-1357.28-11.34zM318.125 795.325S304.962 804.727 305 811.73c.043 7.772 14.766 18.047 14.766 18.047l1338.745 14.765 24.609-16.406-34.453-21.328-1330.542-11.484z" />
</g>
<g fill="#fff">
<use xlinkHref="#sfdf72aaf" transform="matrix(45 0 0 45 342.957 112.581)" />
<use xlinkHref="#sfdf72aaf" transform="matrix(37.5 0 0 37.5 521.205 267.53)" />
<use xlinkHref="#sfdf72aaf" transform="matrix(45 0 0 45 135 321.808)" />
<use xlinkHref="#sfdf72aaf" transform="matrix(52.5 0 0 52.5 342.957 652.581)" />
</g>
</svg>
);
export default FlagTk;