Skip to content

Commit 92c900c

Browse files
authored
docs: add global person-card config story (#3239)
1 parent ab46697 commit 92c900c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

stories/components/personCard/personCard.properties.stories.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,10 @@ export const inheritDetails = () => html`
5353
export const setUserId = () => html`
5454
<mgt-person-card user-id="2804bc07-1e1f-4938-9085-ce6d756a32d2"></mgt-person-card>
5555
`;
56+
57+
export const personCardConfig = () => html`
58+
<mgt-person-card person-query="me" show-presence></mgt-person-card>
59+
<script>
60+
import { MgtPersonCardConfig } from '@microsoft/mgt-components';
61+
MgtPersonCardConfig.sections.files = false;
62+
</script>`;

0 commit comments

Comments
 (0)