diff --git a/components/Buttons/LinkButton/LinkButton.tsx b/components/Buttons/LinkButton/LinkButton.tsx index d80d348f9..7ec201b62 100644 --- a/components/Buttons/LinkButton/LinkButton.tsx +++ b/components/Buttons/LinkButton/LinkButton.tsx @@ -8,6 +8,14 @@ export type LinkButtonProps = { * Url to be passed to the base anchor element. */ href: string; + /** + * String or element to be used as the label. + */ + children: React.ReactNode; + /** + * Applies classnames to the base element. + */ + className?: string; /** * Only pass analytics event label if you're href is to an external website */ @@ -24,7 +32,7 @@ export type LinkButtonProps = { * Sets the button color theme. */ theme?: 'primary' | 'secondary'; -} & React.ButtonHTMLAttributes; +}; export default function LinkButton({ analyticsEventLabel,