fln-espranza 0.0.31 → 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,5 +1,5 @@
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 (
@@ -1,4 +1,5 @@
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%';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fln-espranza",
3
- "version": "0.0.31",
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": {