@tactics/toddle-styleguide 4.0.1 → 4.0.2
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.
package/package.json
CHANGED
|
@@ -9,6 +9,7 @@ interface IContactInfoCard {
|
|
|
9
9
|
isActive?: boolean;
|
|
10
10
|
style?: ViewStyle;
|
|
11
11
|
isLoading?: boolean;
|
|
12
|
+
tags?: string[];
|
|
12
13
|
}
|
|
13
|
-
export declare const PersonInfoCard: ({ source, isBlocked, isActive, name, label, style, isLoading, }: IContactInfoCard) => React.JSX.Element;
|
|
14
|
+
export declare const PersonInfoCard: ({ source, isBlocked, isActive, name, label, style, isLoading, tags }: IContactInfoCard) => React.JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -14,6 +14,7 @@ interface IContactInfoCard {
|
|
|
14
14
|
isActive?: boolean;
|
|
15
15
|
style?: ViewStyle;
|
|
16
16
|
isLoading?: boolean;
|
|
17
|
+
tags?: string[];
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
export const PersonInfoCard = ({
|
|
@@ -24,6 +25,7 @@ export const PersonInfoCard = ({
|
|
|
24
25
|
label,
|
|
25
26
|
style,
|
|
26
27
|
isLoading,
|
|
28
|
+
tags
|
|
27
29
|
}: IContactInfoCard) => {
|
|
28
30
|
const styles = Stylesheet();
|
|
29
31
|
return (
|
|
@@ -37,7 +39,7 @@ export const PersonInfoCard = ({
|
|
|
37
39
|
isLoading={isLoading}
|
|
38
40
|
/>
|
|
39
41
|
</View>
|
|
40
|
-
<ContactRole name={name} role={label} />
|
|
42
|
+
<ContactRole name={name} role={label} tags={tags} />
|
|
41
43
|
</View>
|
|
42
44
|
);
|
|
43
45
|
};
|