aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/@next/components')
-rw-r--r--packages/website/ts/@next/components/banner.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/banner.tsx b/packages/website/ts/@next/components/banner.tsx
index e8c846947..e779c5889 100644
--- a/packages/website/ts/@next/components/banner.tsx
+++ b/packages/website/ts/@next/components/banner.tsx
@@ -17,7 +17,8 @@ interface Props {
interface CTAButton {
text: string;
- href: string;
+ href?: string;
+ onClick?: () => void;
}
interface BorderProps {
@@ -64,6 +65,7 @@ export const Banner: React.StatelessComponent<Props> = (props: Props) => {
{secondaryCta &&
<Button
href={secondaryCta.href}
+ onClick={secondaryCta.onClick}
isTransparent={true}
>
{secondaryCta.text}