Card Types
TypeScript types for card components
Type definitions for card components.
Package
@tetherto/mdk-react-devkit
Types
MiningPoolRow
Display contract for one row of the <MiningPoolsPanel /> table. Adapter hooks (e.g. usePoolRows) shape their output to fit this type; consumers can also build rows by hand for fixtures or demos.
type MiningPoolRow = { /** Stable React key. */ id: string /** Display name (e.g. `minerpool-f2pool-shelf-0`). */ name: string /** 24h revenue in BTC; rendered as `0.00 BTC` when undefined. */ revenue24hBtc?: number /** Hashrate in PH/s — used for display (TH/…