react-native-collapsible-header-views icon indicating copy to clipboard operation
react-native-collapsible-header-views copied to clipboard

Support contentContainerStyle paddingTop

Open jsamr opened this issue 5 years ago • 1 comments

Currently, contentContainerStyle's paddingTop is overriden by header's height.

I suggest either:

  • Add a new prop, such as extraPaddingTop which will be added to headerHeight to infer top padding
  • Use Stylesheet.flatten to evaluate if user provided a paddingTop, and add this padding top toheaderHeight to infer top padding.

jsamr avatar Dec 09 '19 14:12 jsamr

Hi @jsamr , sorry for late reply - I just don't have enough time right now to revisit this. Please feel free to implement this feature the way you prefer and open a PR.

iyegoroff avatar Dec 15 '19 15:12 iyegoroff