UNPKG

react-native-svg-flagkit-typescript

Version:
34 lines (31 loc) 1.44 kB
import React from 'react' import Svg, { Defs, LinearGradient, Stop, G, Path } from 'react-native-svg' const SvgPr = props => ( <Svg viewBox="0 0 21 15" width={21} height={15} {...props}> <Defs> <LinearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="PR_svg__a"> <Stop stopColor="#FFF" offset="0%" /> <Stop stopColor="#F0F0F0" offset="100%" /> </LinearGradient> <LinearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="PR_svg__b"> <Stop stopColor="#FA2222" offset="0%" /> <Stop stopColor="#ED0000" offset="100%" /> </LinearGradient> <LinearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="PR_svg__c"> <Stop stopColor="#1D63F9" offset="0%" /> <Stop stopColor="#0650F0" offset="100%" /> </LinearGradient> </Defs> <G fill="none" fillRule="evenodd"> <Path fill="url(#PR_svg__a)" d="M0 0h21v15H0z" /> <Path fill="url(#PR_svg__b)" d="M0 0h21v15H0z" /> <Path fill="url(#PR_svg__a)" d="M0 3h21v3H0zM0 9h21v3H0z" /> <Path fill="url(#PR_svg__c)" d="M0 0l10 7.5L0 15z" /> <Path fill="url(#PR_svg__a)" d="M3.5 8.456L2.03 9.523l.561-1.728-1.469-1.068h1.816L3.5 5l.562 1.727h1.816l-1.47 1.068.561 1.728z" /> </G> </Svg> ) export default SvgPr