Sfoglia il codice sorgente

add icons/ProfileBackground.js

wudebin 6 mesi fa
parent
commit
b6f1a577dd
1 ha cambiato i file con 15 aggiunte e 0 eliminazioni
  1. 15 0
      Strides-SPAPP/app/icons/ProfileBackground.js

+ 15 - 0
Strides-SPAPP/app/icons/ProfileBackground.js

@@ -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;