I would like to insert additional details into the Person Card being displayed when hovering or clicking the Person object. I have seen several examples on how to achieve this using web components, but none on setting this up using the React version.
Could you please provide an example on for example this, but for React:
<mgt-person person-query="me" view="twolines" person-card="hover">
<template data-type="person-card">
<mgt-person-card inherit-details>
<template data-type="additional-details">
<h3>Stuffed Animal Friends:</h3>
<ul>
<li>Giraffe</li>
<li>lion</li>
<li>Rabbit</li>
</ul>
</template>
</mgt-person-card>
</template>
</mgt-person>
My sample code:
<Person userId={val.person} view={cf.GetPersonViewMode(this.props.roleSize)} fetchImage={true} showPresence={true}
personCardInteraction={PersonCardInteraction.hover} line2Property="mail">
<PersonCard inheritDetails={true}>
###
</PersonCard>
</Person>
How to proceed from here?