UNPKG

react-native-svg-flagkit-typescript

Version:
34 lines (31 loc) 1.38 kB
import React from 'react' import Svg, { Defs, LinearGradient, Stop, G, Path } from 'react-native-svg' const SvgSv = props => ( <Svg viewBox="0 0 21 15" width={21} height={15} {...props}> <Defs> <LinearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="SV_svg__a"> <Stop stopColor="#FFF" offset="0%" /> <Stop stopColor="#F0F0F0" offset="100%" /> </LinearGradient> <LinearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="SV_svg__b"> <Stop stopColor="#1B57C4" offset="0%" /> <Stop stopColor="#154BAD" offset="100%" /> </LinearGradient> <LinearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="SV_svg__c"> <Stop stopColor="#3C7839" offset="0%" /> <Stop stopColor="#31642E" offset="100%" /> </LinearGradient> </Defs> <G fill="none" fillRule="evenodd"> <Path fill="url(#SV_svg__a)" d="M0 0h21v15H0z" /> <Path fill="url(#SV_svg__b)" d="M0 0h21v5H0zM0 10h21v5H0z" /> <Path fill="url(#SV_svg__a)" d="M0 5h21v5H0z" /> <Path d="M9.3 5.9a2 2 0 1 0 2.4 0L11 8h-1l-.7-2.1z" fill="url(#SV_svg__c)" /> <Path fill="#F9C92E" d="M10.5 5.5L11 8h-1z" /> </G> </Svg> ) export default SvgSv