1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-13 08:02:38 +03:00

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[];