MiniCard
Variants
default
dashed
MiniCardStack
Collapsing the MiniCardStack
Example: Controlled with 1 item
Example: Controlled with 2 items
Example: Controlled with 3+ items
Example: defaultOpen={false}
By default, the MiniCardStack is open. This behavior can be overridden by setting defaultOpen={false}.
Implementation Details
- For now,
MiniCardStackrequires acountprop andMiniCardStackItemrequires anindexprop. We have an open issue to explore automatically generating these values.