import React from 'react'; import { AtlassianInternalWarning, code, Example, md, Props } from '@atlaskit/docs'; import { TeamsLink } from '@atlaskit/teams-app-internal-navigation/teams-link'; const _default_1: any = md` ${()} A React component that wraps a trigger, such that when interacted a user profile card pops up. It's recommended to talk to us, in particular our team's designers, on Slack at #help-people-and-teams-xpc before integrating this in your product. This is for the purpose of design's understanding, as it is important that design understands the consumer / your use case(s), and we are happy to chat further if the current design doesn't meet your needs. ## Usage ### Using the ProfileCardTrigger ${code` import ProfileCardTrigger from '@atlaskit/profilecard/user'; import ProfileClient from '@atlaskit/profilecard/client'; const profileClient = new ProfileClient({ url: 'https://directory-graphql-service/endpoint' // GraphQL service endpoint }); `} ${( )} Here are some relevant examples for better understanding the \`trigger\` and \`triggerLinkType\` props: ${( )} ${( )} `; export default _default_1;