2

I want to add hover on every render row and when hover the download button will be shown.

enter image description here

1
  • did you try this? You can make the button active with class. Commented Sep 17, 2022 at 5:59

1 Answer 1

0

Do it with css like

.row-with-download:hover button { display: block; } 

or like

const [isShown, setIsShown] = useState(false); <Row onMouseEnter={() => setIsShown(true)} onMouseLeave={() => setIsShown(false)}> {isShown && <button/>} 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.