react-crud-mobile 1.0.784 → 1.0.786

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.784",
2
+ "version": "1.0.786",
3
3
  "license": "MIT",
4
4
  "description": "Uma biblioteca de componentes para React Native",
5
5
  "main": "dist/index.js",
@@ -126,6 +126,7 @@ export default function UIModal(props: ChildType) {
126
126
  visible={modalVisible}
127
127
  onRequestClose={onClose}
128
128
  >
129
+ <SafeAreaView style={style('modalTop')} />
129
130
  <SafeAreaView style={style('modalSafe')}>
130
131
  <View style={scope.getStyle('header', headerStyle)}>
131
132
  <TouchableOpacity onPress={onClose} style={style('modalCloseButton')}>
@@ -159,10 +160,14 @@ export default function UIModal(props: ChildType) {
159
160
  }
160
161
 
161
162
  const styles = StyleSheet.create({
163
+ modalTop: {
164
+ backgroundColor: 'primary',
165
+ width: '100%',
166
+ },
162
167
  modalSafe: {
163
168
  flex: 1,
164
- backgroundColor: 'primary',
165
169
  width: '100%',
170
+ backgroundColor: '#f5f5f5',
166
171
  },
167
172
  modalCloseButton: {
168
173
  padding: 10,