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

children

elements to render inside the Inventory Card or title

error

elements of the div