sapo-components-ui-rn 1.0.38 → 1.0.39
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.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Tag/index.tsx +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -6847,7 +6847,7 @@ var Tag = function (_a) {
|
|
|
6847
6847
|
setActive(isActive);
|
|
6848
6848
|
}, [isActive]);
|
|
6849
6849
|
return (React__default.createElement(View, { row: true },
|
|
6850
|
-
React__default.createElement(View, { row: true, height: height, disabled: disabled, paddingHorizontal: CONSTANTS.SPACE_12, paddingVertical: CONSTANTS.SPACE_8, borderRadius: borderRadius,
|
|
6850
|
+
React__default.createElement(View, { row: true, height: height, disabled: disabled, paddingHorizontal: CONSTANTS.SPACE_12, paddingVertical: CONSTANTS.SPACE_8, borderRadius: borderRadius, center: true, style: [
|
|
6851
6851
|
disabled && {
|
|
6852
6852
|
backgroundColor: colors.surfaceSecondaryDefault,
|
|
6853
6853
|
borderColor: colors.surfaceSecondaryDefault,
|
|
@@ -6866,7 +6866,7 @@ var Tag = function (_a) {
|
|
|
6866
6866
|
textStyle,
|
|
6867
6867
|
] }, title)),
|
|
6868
6868
|
rightIcon ? (React__default.createElement(View, { paddingLeft: CONSTANTS.SPACE_4 }, rightIcon)) : hideRightIcon ? (React__default.createElement(View, null)) : (React__default.createElement(View, { paddingLeft: CONSTANTS.SPACE_4 },
|
|
6869
|
-
React__default.createElement(Icon$1, { name: "IconClose", type: "Svg", size:
|
|
6869
|
+
React__default.createElement(Icon$1, { name: "IconClose", type: "Svg", size: 20, color: colors.iconBrandDefault }))))));
|
|
6870
6870
|
};
|
|
6871
6871
|
var styles = StyleSheet.create(__assign({}, containerStyles));
|
|
6872
6872
|
|