1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 19:44:21 +00:00

🐛 Fix links not linking properly

This commit is contained in:
Steffo 2021-08-29 05:06:36 +02:00
parent 798982aa80
commit 8917680c68
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -38,6 +38,6 @@ export function Anchor({displayStyle, href, ...props}: AnchorProps): JSX.Element
props.bluelibClassNames = mergeClassNames(props.bluelibClassNames, "anchor", DISPLAY_STYLE_CLASSES[displayStyle]) props.bluelibClassNames = mergeClassNames(props.bluelibClassNames, "anchor", DISPLAY_STYLE_CLASSES[displayStyle])
return ( return (
<BaseElement kind={"a"} {...props}/> <BaseElement kind={"a"} href={href} {...props}/>
) )
} }