Convert HeaderButton to TS
This commit is contained in:
parent
0f59e34a3a
commit
23e4b67a69
4 changed files with 9 additions and 7 deletions
|
@ -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[];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue