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/dist/react-crud-mobile.cjs.development.js +11 -5
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +11 -5
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIModal.tsx +6 -1
package/package.json
CHANGED
|
@@ -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,
|