import { FocusZone, DefaultButton, DirectionalHint, Persona, PersonaInitialsColor, PersonaSize } from "office-ui-fabric-react"; import * as React from "react"; import { Account } from "msal"; import { useGraphPhoto } from "../../../hooks/useGraphPhoto"; interface Props { graphToken: string; account: Account; openPanel: () => void; logout: () => void; } export const MeControl: React.FunctionComponent = ({ openPanel, logout, account, graphToken }: Props) => { const photo = useGraphPhoto(graphToken); return ( ); };