1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00
This commit is contained in:
Michael Telatynski
2021-04-27 17:19:34 +01:00
parent 46d35411b4
commit 4f02dc9050
3 changed files with 5 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ interface IProps {
featureId: string;
}
export const BetaPill = ({ onClick }) => {
export const BetaPill = ({ onClick }: { onClick?: () => void }) => {
return <span className="mx_BetaCard_betaPill" onClick={onClick}>
{ _t("Beta") }
</span>;