@risemaxi/sigil
Version:
Icons and Signs for the Rise Design System
25 lines (24 loc) • 1.2 kB
JavaScript
import { memo } from 'react';
import Svg, { G, Path, Defs, ClipPath } from 'react-native-svg';
const Icon = memo((_props) => {
const { color = 'black', size = 24, ...props } = _props;
return (<Svg fill="none" viewBox="0 0 40 40" width={size} height={size} {...props}>
<G clipPath="url(#a)">
<Path fill="#FFDA44" d="M0 20c0 2.446.44 4.79 1.244 6.956l18.756.87 18.756-.87A20 20 0 0 0 40 20c0-2.447-.44-4.79-1.244-6.957L20 12.173l-18.756.87A20 20 0 0 0 0 20"/>
<Path fill="#D80027" d="M20 0C11.4 0 4.07 5.428 1.244 13.044h37.512C35.93 5.428 28.6 0 20 0"/>
<Path fill="#496E2D" d="M38.756 26.956H1.244C4.07 34.572 11.401 40 20 40s15.93-5.428 18.756-13.044"/>
<Path fill="#000" d="m20 13.044 1.727 5.314h5.588l-4.52 3.284 1.726 5.314L20 23.672l-4.52 3.284 1.726-5.314-4.52-3.284h5.587z"/>
</G>
<Defs>
<ClipPath id="a">
<Path fill="#fff" d="M0 0h40v40H0z"/>
</ClipPath>
</Defs>
</Svg>);
});
Icon.displayName = 'Ghana';
/**
* Flags by `Deji.Zeal`: Ghana
* @see {@link https://www.figma.com/community/file/1088904439772569873/alphabetical-country-flags Alphabetical Country Flags}
*/
export const Ghana = Icon;