fln-espranza 0.0.30 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,15 +7,16 @@ import { CheckCircleIcon } from 'react-native-heroicons/solid';
7
7
 
8
8
  interface IProps {
9
9
  text: string;
10
- color?: string;
10
+ bgColor: string;
11
+ textColor: string
11
12
  completed?: boolean;
12
13
  }
13
14
 
14
- export default function EBadge({ text, completed, color }: IProps) {
15
+ export default function EBadge({ text, completed, bgColor, textColor }: IProps) {
15
16
  return (
16
- <View style={[tw`flex-row p-1 px-2 bg-[${color}] rounded-full`, ]}>
17
+ <View style={[tw`flex-row p-1 px-2 bg-[${bgColor}] rounded-full`,]}>
17
18
  {completed ? <CheckCircleIcon style={tw`text-white -ml-1 mr-1`} size={16} /> : null}
18
- <EText size='xs' style={tw`font-semibold text-white`}>
19
+ <EText size='xs' style={tw`font-semibold text-[${textColor}]`}>
19
20
  {text}
20
21
  </EText>
21
22
  </View>
@@ -1,20 +1,20 @@
1
1
  import * as React from "react"
2
-
2
+ import Svg, { G, Path } from "react-native-svg"
3
3
  export function EIconFemale(props){
4
4
  const size = props.size || '100%';
5
5
  return (
6
- <svg
6
+ <Svg
7
7
  width={size}
8
8
  height={size}
9
9
  fill="none"
10
10
  xmlns="http://www.w3.org/2000/svg"
11
11
  {...props}
12
12
  >
13
- <path
13
+ <Path
14
14
  d="M6.157 14.73c.389.235.829.311 1.245.248l-.18.543-.002.004a1.315 1.315 0 0 0 1.123 1.72v2.63a1.874 1.874 0 0 0 3.281 1.241 1.874 1.874 0 0 0 3.281-1.241v-2.63a1.313 1.313 0 0 0 1.122-1.725v-.001l-.181-.54a1.876 1.876 0 0 0 1.884-2.82v-.001l-1.884-3.135v-.001a4.692 4.692 0 0 0-3.085-2.178 2.436 2.436 0 0 0 .587-3.88 2.437 2.437 0 1 0-2.86 3.88 4.692 4.692 0 0 0-3.085 2.178l-1.884 3.136a1.876 1.876 0 0 0 .638 2.573Z"
15
15
  stroke="#000"
16
16
  strokeWidth={1.5}
17
17
  />
18
- </svg>
18
+ </Svg>
19
19
  )
20
20
  }
@@ -1,20 +1,21 @@
1
1
  import * as React from "react"
2
+ import Svg, { G, Path } from "react-native-svg"
2
3
 
3
4
  export function EIconMale(props){
4
5
  const size = props.size || '100%';
5
6
  return (
6
- <svg
7
+ <Svg
7
8
  width={size}
8
9
  height={size}
9
10
  fill="none"
10
11
  xmlns="http://www.w3.org/2000/svg"
11
12
  {...props}
12
13
  >
13
- <path
14
+ <Path
14
15
  d="M11.624 21.116a1.874 1.874 0 0 0 3.281-1.241v-5.329a1.876 1.876 0 0 0 2.828-2.389l-2.049-3.409a4.131 4.131 0 0 0-2.85-1.944 2.436 2.436 0 0 0 .514-3.84 2.437 2.437 0 1 0-2.932 3.84 4.13 4.13 0 0 0-2.848 1.944l-2.05 3.41a1.876 1.876 0 0 0 2.825 2.391v5.326a1.874 1.874 0 0 0 3.281 1.241Z"
15
16
  stroke="#000"
16
17
  strokeWidth={1.5}
17
18
  />
18
- </svg>
19
+ </Svg>
19
20
  )
20
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fln-espranza",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "All components used inside FLN Project of Espranza Innovations",
5
5
  "main": "index.ts",
6
6
  "scripts": {