7.6.2.47. InventoryItemBody
Creates the body of an inventory card; used within InventoryCard and can be used with InventoryTitle.
Example
return (
<InventoryItem>
<InventoryItemTitle>{title}</InventoryItemTitle>
<InventoryItemBody error={loadError}>
{loaded && <InventoryItemStatus count={workerNodes.length} icon={<MonitoringIcon />} />}
</InventoryItemBody>
</InventoryItem>
)
| Parameter Name | Description |
|---|---|
|
| elements to render inside the Inventory Card or title |
|
| elements of the div |