mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-23 03:54:21 +00:00
🐛 Fix bug in Anchor
This commit is contained in:
parent
cbb7073e85
commit
b94cc5ae51
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ export default function Anchor({children, className, disabled, href, ...props})
|
||||||
className = useBluelibClassNames([`element-anchor`, disableClass(disabled)], [className])
|
className = useBluelibClassNames([`element-anchor`, disableClass(disabled)], [className])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<a href={disable(disabled, href)} {className} {...props}>
|
<a href={disable(disabled, href)} className={className} {...props}>
|
||||||
{children}
|
{children}
|
||||||
</a>
|
</a>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue