react-country-flags
Version:
Flags of the world as react components.
19 lines (16 loc) • 621 B
JavaScript
import React from 'react';
const FlagSh = props => (
<svg viewBox="0 0 60 30" {...props}>
<svg viewBox="0 0 60 30" {...props}>
<clipPath id="a">
<path d="M30 15h30v15zv15H0zH0V0zV0h30z" />
</clipPath>
<path d="M0 0v30h60V0z" fill="#00247d" />
<path d="M0 0l60 30m0-30L0 30" stroke="#fff" strokeWidth={6} />
<path d="M0 0l60 30m0-30L0 30" clipPath="url(#a)" stroke="#cf142b" strokeWidth={4} />
<path d="M30 0v30M0 15h60" stroke="#fff" strokeWidth={10} />
<path d="M30 0v30M0 15h60" stroke="#cf142b" strokeWidth={6} />
</svg>
</svg>
);
export default FlagSh;