@dropi/react-native-design-system 0.2.15 → 0.2.16

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.
@@ -8,6 +8,7 @@ var _reactNative = require("react-native");
8
8
  var _reactNative2 = _interopRequireDefault(require("dropi-lib-icons/react-native"));
9
9
  var _constants = require("../../constants");
10
10
  var _styles = _interopRequireDefault(require("./styles"));
11
+ var _atoms = require("../../atoms");
11
12
  var _jsxRuntime = require("react/jsx-runtime");
12
13
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
14
  const Chip = ({
@@ -26,8 +27,9 @@ const Chip = ({
26
27
  name: preIcon,
27
28
  size: _constants.sizes.s,
28
29
  color: iconColor
29
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
30
- style: [_styles.default.text, textStyle],
30
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_atoms.Body, {
31
+ type: "m-regular",
32
+ style: textStyle,
31
33
  children: label
32
34
  }), isDismissable && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
33
35
  onPress: onDismiss,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropi/react-native-design-system",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "description": "A React Native package built from scratch",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",