Skip to content

Commit e9c3c29

Browse files
(add) added onHoverExit function for smoothing out of onHover feature
Co-authored-by: Chris Guizzetti <[email protected]>
1 parent 3c4b9a5 commit e9c3c29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/app/actions/actions.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,9 @@ export const onHover = (rtid) => ({
8282
type: types.ON_HOVER,
8383
//the payload should be something to relate the component we're hovering and highlight that component on the DOM
8484
payload: rtid
85+
})
86+
87+
export const onHoverExit = (rtid) => ({
88+
type: types.ON_HOVER_EXIT,
89+
payload: rtid
8590
})

0 commit comments

Comments
 (0)