/* eslint-disable react/jsx-one-expression-per-line */
import React from 'react';
import { Callout, Text, H4, Tooltip, Position } from '@blueprintjs/core';
import { Row, Col } from 'react-flexbox-grid';
interface DeviceInfoCalloutProps {
deviceType: string | undefined;
deviceIP: string | undefined;
deviceOS: string | undefined;
sharingSessionID: string | undefined;
deviceBrowser: string | undefined;
}
function getContentOfTooltip() {
return (
<>
{`This should match with 'Device IP' displayed on the screen of device
that is trying to connect.`}
{`If IPs don't match click 'Deny' or 'Disconnect' button immediately to
secure your computer!`}
>
);
}
export default function DeviceInfoCallout(props: DeviceInfoCalloutProps) {
const {
deviceType,
deviceIP,
deviceOS,
sharingSessionID,
deviceBrowser,
} = props;
return (
<>
Partner Device Info:
Device Type: {deviceType}
Device IP: {deviceIP}
Device Browser: {deviceBrowser}
Device OS: {deviceOS}
Session ID: {sharingSessionID}
>
);
}