import * as React from "react"; import { Button, Link, Styled } from "@front10/base-elements"; interface Props { onClick?: (event: React.MouseEvent) => void; link?: string; variant?: string; } export function CallToAction({ variant = "primary", ...props }: React.PropsWithChildren>) { if (props.onClick) { return ( ); } return ( {props.children} ); }