Convert HeaderButton to TS

This commit is contained in:
Swapnil Raj 2020-07-18 17:14:20 +05:30
parent 0f59e34a3a
commit 23e4b67a69
4 changed files with 9 additions and 7 deletions

View file

@ -29,7 +29,7 @@ interface IProps {
// click handler
onClick: () => void;
// The badge to display above the icon
badge: React.ReactNode;
badge?: React.ReactNode;
// The parameters to track the click event
analytics: string[];