MDK Logo
UI Kitreact-devkitComponentsFoundationWidgets

MinerChipsCard

Card listing every miner in a container as `MinerChip`s for at-a-glance selection.

Card listing every miner in a container as <MinerChip>s for at-a-glance selection.

import { MinerChipsCard } from "@tetherto/mdk-react-devkit";
PropStatusTypeDefaultDescription
dataRequiredContainerStats

Usage

MinerChipsCard lists all miners in a container as selectable MinerChip tiles — useful for at-a-glance selection and health monitoring.

ComponentDescription
MinerChipsCardContainer-level card rendering a grid of MinerChip tiles.
MinerChipIndividual chip tile showing slot index, frequency, and temperature.

MinerChipsCard Props

PropTypeRequiredDefaultDescription
dataContainerStatsyesContainer stats including chip frequency and temperature arrays.

MinerChip Props

PropTypeRequiredDefaultDescription
indexnumberyesChip slot index.
frequency{ current: number }yesCurrent frequency in MHz.
temperature{ avg: number; min: number; max: number }yesTemperature readings in °C.

Minimal example

import { MinerChipsCard } from "@tetherto/mdk-react-devkit";

<MinerChipsCard data={containerStats} />

Example

import { MinerChipsCard } from '@tetherto/mdk-react-devkit'const mockStats = {  frequency_mhz: {    chips: [      { index: 0, current: 620 },      { index: 1, current: 615 },    ],  },  temperature_c: {    chips: [      { index: 0, avg: 65, min: 62, max: 68 },      { index: 1, avg: 67, min: 64, max: 70 },    ],  },}export const MinerChipsCardExample = () => (  <div className="mdk-example-row">    <MinerChipsCard data={mockStats as never} />  </div>)