mg-library 1.0.710 → 1.0.711
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components.js +1 -0
- package/package.json +1 -1
package/components.js
CHANGED
|
@@ -183,6 +183,7 @@ export function MGButton({
|
|
|
183
183
|
}).start();
|
|
184
184
|
const effectiveDisabled = !!(isDisabled || disabled || isLoading);
|
|
185
185
|
const isSolid = variant === "solid" || variant === "filled";
|
|
186
|
+
const isGhost = variant === "ghost";
|
|
186
187
|
const gsVariant = variant === "ghost" ? "link" : variant;
|
|
187
188
|
const textColor = isSolid ? "$white" : `$${action}700`;
|
|
188
189
|
if (iconColor === undefined) iconColor = textColor;
|