@happeouikit/buttons
Advanced tools
Comparing version 1.0.4 to 1.0.5
# Changelog | ||
## 1.0.5 | ||
- [Fixed] Icon stays visible(not cropped) even if not whole text can be displayed | ||
## 1.0.4 | ||
@@ -4,0 +8,0 @@ |
@@ -51,6 +51,6 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
var Text = getTextComponent(size); | ||
return React.createElement("button", props, React.createElement(Wrapper, null, React.createElement(IconGen, { | ||
return React.createElement("button", props, React.createElement(Wrapper, null, React.createElement("span", null, React.createElement(IconGen, { | ||
icon: icon, | ||
iconPosition: iconPosition | ||
}), React.createElement(Text, { | ||
})), React.createElement(Text, { | ||
color: "inherit" | ||
@@ -57,0 +57,0 @@ }, text))); |
{ | ||
"name": "@happeouikit/buttons", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12790