This pull request resolves the issue related to moving the renderHeader function from the useDetailsHeader hook to the DetailsHeaderScrollView props.
Description
The DetailsHeaderScrollView component had its renderHeader function inside the useDetailsHeader hook, which made it difficult to customize the header component. This pull request refactors the code to move renderHeader as a prop of the DetailsHeaderScrollView component.
This pull request resolves the issue related to moving the
renderHeader
function from theuseDetailsHeader
hook to theDetailsHeaderScrollView
props.Description
The
DetailsHeaderScrollView
component had itsrenderHeader
function inside theuseDetailsHeader
hook, which made it difficult to customize the header component. This pull request refactors the code to moverenderHeader
as a prop of the DetailsHeaderScrollView component.Affected platforms