mirror of
https://github.com/Lissy93/dashy.git
synced 2025-01-08 20:40:30 +03:00
🔘 I dont want button to be a button
This commit is contained in:
parent
c016350402
commit
9503f68233
@ -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 New Issue
Block a user