7.6.2.48. InventoryItemStatus
Creates a count and icon for an inventory card with optional link address; used within InventoryItemBody
Example
return (
<InventoryItem>
<InventoryItemTitle>{title}</InventoryItemTitle>
<InventoryItemBody error={loadError}>
{loaded && <InventoryItemStatus count={workerNodes.length} icon={<MonitoringIcon />} />}
</InventoryItemBody>
</InventoryItem>
)
| Parameter Name | Description |
|---|---|
|
| count for display |
|
| icon for display |
|
| (optional) link address |