mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-14 20:44:18 +01:00
🔘 I dont want button to be a button
This commit is contained in:
parent
c016350402
commit
9503f68233
1 changed files with 2 additions and 4 deletions
|
|
@ -5,10 +5,8 @@ import './../styles/Button.scss';
|
|||
|
||||
export default function Button({ children, to, color }) {
|
||||
return (
|
||||
<Link to={to} className="button-link-wrapper">
|
||||
<button className={clsx('button', color && 'color-btn', `btn-${color}`)}>
|
||||
{children}
|
||||
</button>
|
||||
<Link to={to} className={clsx('button', color && 'color-btn', `btn-${color}`)}>
|
||||
{children}
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue