mg-library 1.0.481 → 1.0.482
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/functions.js +10 -0
- package/package.json +1 -1
package/functions.js
CHANGED
@@ -154,6 +154,16 @@ export function safeAreaViewStyleSheet(insets) {
|
|
154
154
|
});
|
155
155
|
}
|
156
156
|
|
157
|
+
export function safeAreaViewForNavigatorHeaderStyleSheet(insets) {
|
158
|
+
return StyleSheet.create({
|
159
|
+
safeAreaView: {
|
160
|
+
paddingTop: insets.top,
|
161
|
+
paddingLeft: insets.left,
|
162
|
+
paddingRight: insets.right
|
163
|
+
}
|
164
|
+
});
|
165
|
+
}
|
166
|
+
|
157
167
|
export function getBasicStyleSheet() {
|
158
168
|
return StyleSheet.create({
|
159
169
|
availableArea: {
|