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.
Files changed (2) hide show
  1. package/functions.js +10 -0
  2. 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: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.481",
3
+ "version": "1.0.482",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {