react-native-better-html 1.0.20 → 1.0.22

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/index.mjs CHANGED
@@ -1591,6 +1591,7 @@ import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
1591
1591
  var ScreenHolderComponent = ({
1592
1592
  noScroll,
1593
1593
  noSideSpace,
1594
+ noTopSpace,
1594
1595
  refreshTimeout = 1,
1595
1596
  onRefresh,
1596
1597
  onRefreshEnd,
@@ -1627,7 +1628,7 @@ var ScreenHolderComponent = ({
1627
1628
  {
1628
1629
  flex: 1,
1629
1630
  paddingHorizontal: !noSideSpace ? theme2.styles.space : void 0,
1630
- paddingTop: theme2.styles.gap + (insideTopSafeArea ? device.safeArea.afterCalculations.top : 0),
1631
+ paddingTop: (!noTopSpace ? theme2.styles.gap : 0) + (insideTopSafeArea ? device.safeArea.afterCalculations.top : 0),
1631
1632
  paddingBottom: Platform4.OS === "ios" && keyboard.isOpened ? device.safeArea.afterCalculations.top : bottomSpace + (insideBottomSafeArea ? device.safeArea.afterCalculations.bottom : 0),
1632
1633
  children
1633
1634
  }