// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT-0
import * as React from 'react';
function ControlPanel(props) {
return (
Device Information
{props.deviceid ? (
Device ID: {props.deviceid}
) : (
Device ID: loading...
)}
{props.points ? (
# Points (last 24hrs): {props.points}
) : (
Points: loading...
)}
{props.points ? (
Last Point: {props.lastpointtime}
) : (
Last Point: loading...
)}
);
}
export default React.memo(ControlPanel);