We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e154bd commit f57b031Copy full SHA for f57b031
src/components/Spacer/index.tsx
@@ -5,7 +5,6 @@
5
import React from 'react';
6
import { View, ViewStyle } from 'react-native';
7
import { Spacing, spacing } from '../../theme';
8
-import { isNilOrEmpty } from '../../utils';
9
10
interface SpacerDirection {
11
/**
@@ -74,9 +73,5 @@ export function Spacer(props: SpacerProps) {
74
73
direction === 'both' || direction === 'vertical' ? value : undefined,
75
};
76
77
- if (__DEV__ && isNilOrEmpty(value)) {
78
- console.warn(`Spacer component's value is nil or empty!`);
79
- }
80
-
81
return <View style={style} {...rest} />;
82
}
0 commit comments