mirror of
https://github.com/mue/mue.git
synced 2026-07-07 00:14:23 +02:00
style(marketplace): potential marketplace page redesign
This commit is contained in:
@@ -3,7 +3,7 @@ import Tooltip from 'components/Elements/Tooltip/Tooltip';
|
||||
|
||||
const Button = forwardRef(
|
||||
(
|
||||
{ icon, label, type, iconPlacement, onClick, active, disabled, tooltipTitle, tooltipKey, href },
|
||||
{ icon, label, type, iconPlacement, onClick, active, disabled, tooltipTitle, tooltipKey, href, style },
|
||||
ref,
|
||||
) => {
|
||||
let className;
|
||||
@@ -43,14 +43,14 @@ const Button = forwardRef(
|
||||
}
|
||||
|
||||
const button = (
|
||||
<button className={className} onClick={onClick} ref={ref} disabled={disabled}>
|
||||
<button className={className} onClick={onClick} ref={ref} disabled={disabled} style={style}>
|
||||
{icon}
|
||||
{label}
|
||||
</button>
|
||||
);
|
||||
|
||||
const linkButton = (
|
||||
<a className={className} onClick={onClick} ref={ref} disabled={disabled} href={href}>
|
||||
<a className={className} onClick={onClick} ref={ref} disabled={disabled} href={href} style={style}>
|
||||
{icon}
|
||||
{label}
|
||||
</a>
|
||||
@@ -66,6 +66,7 @@ const Button = forwardRef(
|
||||
href={href}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
style={style}
|
||||
>
|
||||
{icon}
|
||||
{label}
|
||||
|
||||
@@ -178,6 +178,7 @@ a.btn-collection {
|
||||
height: 40px;
|
||||
display: grid;
|
||||
place-content: center;
|
||||
border-radius: 8px !important;
|
||||
|
||||
@include modal-button(standard);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user