Bag
Bag(
props):Element
The player’s bag, up the right edge of the screen unless slot names
another place, one button a stack: a press wears what has a slot and
uses anything else. An empty slot draws nothing. It sits in a Hud, as
a Panel does; a game that wants another bag writes its own from
useInventory.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
BagProps |
Returns
Section titled “Returns”Element