isItemDisabled
prop for Cards component ?
#2053
-
How can I use the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can find more about this property here: https://cloudscape.design/components/cards/?tabId=api#:~:text=Determines%20which%20items%20are%20disabled.%20If%20an%20item%20is%20disabled%2C%20users%20can%27t%20select%20it. It basically runs against the Let us know if this is helpful! |
Beta Was this translation helpful? Give feedback.
You can find more about this property here: https://cloudscape.design/components/cards/?tabId=api#:~:text=Determines%20which%20items%20are%20disabled.%20If%20an%20item%20is%20disabled%2C%20users%20can%27t%20select%20it.
It basically runs against the
items
passed to the Cards component and based on what it returns it either disable the card with that specific item or not, its more like thearray.filter
function that receives a callback.Let us know if this is helpful!