React OnClick Type
onClick?: (e: React.MouseEvent<HTMLElement>) => void;
Healthy Hoopoe
onClick?: (e: React.MouseEvent<HTMLElement>) => void;