chrisrzhou / react-wordcloud

☁️ Simple React + D3 wordcloud component with powerful features.

Home Page:https://react-wordcloud.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

should this be a React.SyntheticEvent<MouseEvent> ?

helt opened this issue · comments

commented

type WordEventCallback = (word: Word, event?: MouseEvent) => void;

I am wondering if the events should be typed as React.SyntheticEvent<MouseEvent> instead of their native dom counterparts ?!