Skip to content

Commit

Permalink
passing highlight handlers to button prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducica committed Sep 16, 2024
1 parent 42ca1ce commit 8c1e443
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ export const ArrayFieldItem = ({
arrayHelpers={arrayHelpers}
indexPath={indexPath}
id={removeButtonId}
onMouseEnter={() => setHighlighted(true)}
onMouseLeave={() => setHighlighted(false)}
{...removeButtonProps}
/>
) : (
Expand Down

0 comments on commit 8c1e443

Please sign in to comment.