I am using antd
cards in my react
project.
I want to show and hide extra
content in my card with mouse hover on the card.
this is my card:
<Card
title="My Card Title"
extra={<Button type="link"> Download </Button>}
>
some content...
</Card>
I want to show Download button
just when the mouse hover the card.
How can I control the visibility of extra
section in antd card
with mouseover?