@react-navigation/drawer 7.0.0-rc.7 → 7.0.0-rc.8

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.
@@ -77,7 +77,7 @@ function DrawerItem(props) {
77
77
  }]
78
78
  }, iconNode, /*#__PURE__*/React.createElement(_reactNative.View, {
79
79
  style: [styles.label, {
80
- marginStart: iconNode ? 16 : 0
80
+ marginStart: iconNode ? 12 : 0
81
81
  }]
82
82
  }, typeof label === 'string' ? /*#__PURE__*/React.createElement(_elements.Text, {
83
83
  numberOfLines: 1,
@@ -68,7 +68,7 @@ export function DrawerItem(props) {
68
68
  }]
69
69
  }, iconNode, /*#__PURE__*/React.createElement(View, {
70
70
  style: [styles.label, {
71
- marginStart: iconNode ? 16 : 0
71
+ marginStart: iconNode ? 12 : 0
72
72
  }]
73
73
  }, typeof label === 'string' ? /*#__PURE__*/React.createElement(Text, {
74
74
  numberOfLines: 1,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@react-navigation/drawer",
3
3
  "description": "Integration for the drawer component from react-native-drawer-layout",
4
- "version": "7.0.0-rc.7",
4
+ "version": "7.0.0-rc.8",
5
5
  "keywords": [
6
6
  "react-native-component",
7
7
  "react-component",
@@ -82,5 +82,5 @@
82
82
  ]
83
83
  ]
84
84
  },
85
- "gitHead": "5f0d995c246979dcc52d3d1571f947d4e982edaa"
85
+ "gitHead": "fa21736308e8125fc243365108de9e3c1eda85df"
86
86
  }
@@ -147,7 +147,7 @@ export function DrawerItem(props: Props) {
147
147
  >
148
148
  <View style={[styles.wrapper, { borderRadius }]}>
149
149
  {iconNode}
150
- <View style={[styles.label, { marginStart: iconNode ? 16 : 0 }]}>
150
+ <View style={[styles.label, { marginStart: iconNode ? 12 : 0 }]}>
151
151
  {typeof label === 'string' ? (
152
152
  <Text
153
153
  numberOfLines={1}