diff --git a/snippets/components/Badges/BetaBadge.jsx b/snippets/components/Badges/BetaBadge.jsx index 8d80734d..c0e7443b 100644 --- a/snippets/components/Badges/BetaBadge.jsx +++ b/snippets/components/Badges/BetaBadge.jsx @@ -1,4 +1,6 @@ +import { galaxyOnClick } from '/snippets/lib/galaxy.jsx'; + const Icon = () => { return (
@@ -12,7 +14,22 @@ const Icon = () => { ) } -export const BetaBadge = () => { +export const BetaBadge = ({ link, galaxyTrack, galaxyEvent }) => { + if (link) { + return ( + + + Beta + + ) + } + return (
@@ -26,4 +43,4 @@ export const BetaBadge = () => {
) -}; \ No newline at end of file +}; diff --git a/snippets/components/BetaBadge/BetaBadge.jsx b/snippets/components/BetaBadge/BetaBadge.jsx index 39966642..71544f6f 100644 --- a/snippets/components/BetaBadge/BetaBadge.jsx +++ b/snippets/components/BetaBadge/BetaBadge.jsx @@ -1,7 +1,8 @@ -export const BetaBadge = () => { +import { galaxyOnClick } from '/snippets/lib/galaxy.jsx'; + +const Icon = () => { return ( -
-
+
{ />
+ ) +} + +export const BetaBadge = ({ link, galaxyTrack, galaxyEvent }) => { + if (link) { + return ( + + + Beta + + ) + } + + return ( +
+ Beta feature.