Closed nonplace closed 5 months ago
Hi @nonplace, this is a clear issue with our documentation, thank you for bringing it to our attention. The configuration should use MgtPersonCardConfig e.g MgtPersonCardConfig.sections.files= false;
We will be updating our documentation to fix this ASAP.
Describe the bug It is not possible to set the global config of the person card. Property 'config' does not exist on type 'typeof MgtPersonCard'.ts(2339) package "@microsoft/mgt-react": "^4.2.2"
To Reproduce Steps to reproduce the behavior:
Expected behavior enable disable certain features of the component globally
Environment (please complete the following information):
Additional context Discovered the bug when upgrading from major v 2.x to 4.x
Looking forward to get this cleared up and fixed!