import React, { FunctionComponent, useContext } from 'react'; import type { IAccountLinkingProps } from './AccountLinking.types'; import { Typography, Box, GlobalProps } from '../../../../components'; export const AccountLinking: FunctionComponent = ({ ...props }) => { const { authState } = useContext(GlobalProps); const username = authState.jira?.username; return ( {username && ( Connected to {username} long press here to disconnect. )} ); };