You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: rework parameter passing to click events in contact card section (#1809)
* fix: rework parameter passing to click events in contact card section
* Adding a story to demonstrate the anonymous use of mgt-person-card
Co-authored-by: Musale Martin <[email protected]>
Copy file name to clipboardExpand all lines: packages/mgt-components/src/components/mgt-person-card/sections/mgt-person-card-contact/mgt-person-card-contact.ts
+33-32Lines changed: 33 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ import { strings } from './strings';
19
19
/**
20
20
* Represents a contact part and its metadata
21
21
*
22
-
* @interfaceIContectPart
22
+
* @interfaceIContactPart
23
23
*/
24
24
interfaceIContactPart{
25
25
// tslint:disable-next-line: completed-docs
@@ -34,6 +34,8 @@ interface IContactPart {
34
34
showCompact: boolean;
35
35
}
36
36
37
+
typeProtocol='mailto:'|'tel:';
38
+
37
39
/**
38
40
* The contact details subsection of the person card
39
41
*
@@ -73,49 +75,49 @@ export class MgtPersonCardContact extends BasePersonCardSection {
0 commit comments