react-native-boxes 1.4.69 → 1.4.71
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/package.json +1 -1
- package/src/Bar.tsx +8 -4
package/package.json
CHANGED
package/src/Bar.tsx
CHANGED
|
@@ -202,16 +202,20 @@ export function BottomNavBar(props: ViewProps &
|
|
|
202
202
|
}}
|
|
203
203
|
{...props}
|
|
204
204
|
style={[{
|
|
205
|
+
borderWidth: 1,
|
|
206
|
+
borderColor: theme.colors.background,
|
|
207
|
+
borderRadius: theme.dimens.space.md,
|
|
208
|
+
width: isDesktop() ? '50%' : '100%',
|
|
209
|
+
position: 'absolute',
|
|
210
|
+
bottom: 0,
|
|
211
|
+
left: isDesktop() ? '25%' : 0,
|
|
212
|
+
right: isDesktop() ? '25%' : 0,
|
|
205
213
|
flex: 1,
|
|
206
214
|
margin: 0,
|
|
207
215
|
marginBottom: theme?.insets?.bottom || 0,
|
|
208
216
|
backgroundColor: theme.colors.forground,
|
|
209
217
|
zIndex: 100,
|
|
210
|
-
width: '100%',
|
|
211
218
|
justifyContent: 'space-around',
|
|
212
|
-
left: 0,
|
|
213
|
-
bottom: 0,
|
|
214
|
-
position: 'absolute'
|
|
215
219
|
}, props.style]}
|
|
216
220
|
>
|
|
217
221
|
{
|