|
@@ -0,0 +1,15 @@
|
|
|
|
|
+import React from 'react';
|
|
|
|
|
+import Svg, { Path, Rect } from 'react-native-svg';
|
|
|
|
|
+
|
|
|
|
|
+const ProfileBackground = ({color=colorAccent}) => (
|
|
|
|
|
+ <Svg width="385" height="234" viewBox="0 0 385 234">
|
|
|
|
|
+ <Path
|
|
|
|
|
+ fillRule="evenodd"
|
|
|
|
|
+ clipRule="evenodd"
|
|
|
|
|
+ d="M385 -10H0V197.871C-2.62204 199.849 -4 201.9 -4 204C-4 220.569 81.7385 234 187.5 234C293.263 234 389 220.569 389 204C389 201.9 387.622 199.849 385 197.871V-10Z"
|
|
|
|
|
+ fill={color}/>
|
|
|
|
|
+ <Rect x="0" y="0" width="385" height="200" fill={color}/>
|
|
|
|
|
+ </Svg>
|
|
|
|
|
+);
|
|
|
|
|
+
|
|
|
|
|
+export default ProfileBackground;
|