@muja-ui/native 0.2.0 → 0.3.1
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/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -270,6 +270,7 @@ function Icon({
|
|
|
270
270
|
icon,
|
|
271
271
|
size = 20,
|
|
272
272
|
color = "text",
|
|
273
|
+
tint,
|
|
273
274
|
label,
|
|
274
275
|
strokeWidth = 2,
|
|
275
276
|
style
|
|
@@ -298,7 +299,7 @@ function Icon({
|
|
|
298
299
|
Svg.Path,
|
|
299
300
|
{
|
|
300
301
|
d,
|
|
301
|
-
stroke: theme.colors[color],
|
|
302
|
+
stroke: tint ?? theme.colors[color],
|
|
302
303
|
strokeWidth,
|
|
303
304
|
strokeLinecap: "round",
|
|
304
305
|
strokeLinejoin: "round"
|