import type React from "react"; import type { Protobuf } from "@meshtastic/meshtasticjs"; import { Card } from "../Card.js"; export interface NodeInfoWidgetProps { hardware: Protobuf.MyNodeInfo; } export const NodeInfoWidget = ({ hardware, }: NodeInfoWidgetProps): JSX.Element => { return (
Information
Firmware version
{hardware.firmwareVersion}
Bitrate
{hardware.bitrate.toFixed(2)} bps
); };