react-native-flagkit
Version:
Flags for react-native
35 lines (32 loc) • 1.56 kB
JavaScript
import React from 'react'
import Svg, { Defs, LinearGradient, Stop, G, Path } from 'react-native-svg'
const SvgPs = props => (
<Svg viewBox="0 0 21 15" width={21} height={15} {...props}>
<Defs>
<LinearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="PS_svg__a">
<Stop stopColor="#FFF" offset="0%" />
<Stop stopColor="#F0F0F0" offset="100%" />
</LinearGradient>
<LinearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="PS_svg__b">
<Stop stopColor="#20934F" offset="0%" />
<Stop stopColor="#197940" offset="100%" />
</LinearGradient>
<LinearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="PS_svg__c">
<Stop stopColor="#262626" offset="0%" />
<Stop stopColor="#0D0D0D" offset="100%" />
</LinearGradient>
<LinearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="PS_svg__d">
<Stop stopColor="#E62539" offset="0%" />
<Stop stopColor="#CA1A2C" offset="100%" />
</LinearGradient>
</Defs>
<G fill="none" fillRule="evenodd">
<Path fill="url(#PS_svg__a)" d="M0 0h21v15H0z" />
<Path fill="url(#PS_svg__b)" d="M0 10h21v5H0z" />
<Path fill="url(#PS_svg__c)" d="M0 0h21v5H0z" />
<Path fill="url(#PS_svg__a)" d="M0 5h21v5H0z" />
<Path fill="url(#PS_svg__d)" d="M0 0l10 7.5L0 15z" />
</G>
</Svg>
)
export default SvgPs