@dropi/react-native-design-system 0.2.20 → 0.2.21

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.
@@ -23,10 +23,15 @@ const Chip = ({
23
23
  const iconColor = variant === "primary" ? _constants.colors["Primary-500"].light : _constants.colors["Gray-600"].light;
24
24
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
25
25
  style: [_styles.default.container, containerStyle],
26
- children: [preIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative2.default, {
27
- name: preIcon,
28
- size: _constants.sizes.s,
29
- color: iconColor
26
+ children: [preIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
27
+ style: {
28
+ marginRight: _constants.spacing["size-1"]
29
+ },
30
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative2.default, {
31
+ name: preIcon,
32
+ size: _constants.sizes.s,
33
+ color: iconColor
34
+ })
30
35
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_atoms.Body, {
31
36
  type: "s-regular",
32
37
  style: textStyle,
@@ -40,10 +45,15 @@ const Chip = ({
40
45
  right: 8
41
46
  },
42
47
  activeOpacity: 0.7,
43
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative2.default, {
44
- name: "cross-circle",
45
- size: _constants.sizes.s,
46
- color: iconColor
48
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
49
+ style: {
50
+ marginLeft: _constants.spacing["size-1"]
51
+ },
52
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative2.default, {
53
+ name: "cross-circle",
54
+ size: _constants.sizes.s,
55
+ color: iconColor
56
+ })
47
57
  })
48
58
  })]
49
59
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropi/react-native-design-system",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "description": "A React Native package built from scratch",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",