headerType | AvatarHeader | Yes | TabbedHeader | Set header type to TabbedHeader |
backgroundColor | string | Yes | '#1ca75d' | Header background color |
backgroundImage | ImageSourcePropType | Yes | | Header background image source |
bounces | boolean | Yes | true | Allow scroll view bounces (IOS) |
children | ReactNode | Yes | | Render content inside ScrollView |
contentContainerStyles | StyleProp<ViewStyle> | Yes | | Set scroll view body styles |
hasBorderRadius | boolean | Yes | true | Adds radius to header's right bottom border |
headerHeight | number | Yes | ifIphoneX(92, constants.responsiveHeight(13)) | Set header height |
headerSize | (h: LayoutRectangle) => void | Yes | | Handler that is called when header's size changes |
image | ImageSourcePropType | Yes | | Sets header image |
leftTopIcon | () => ReactElement | ImageSourcePropType | Yes | | Set icon for left top button |
leftTopIconOnPress | () => void | Yes | | Define action on left top button press |
rightTopIcon | () => ReactElement | ImageSourcePropType | Yes | | Set icon for right top button |
rightTopIconOnPress | () => void | Yes | | Define action on right top button press |
onMomentumScrollBegin | (event: NativeSyntheticEvent<NativeScrollEvent>) => void | Yes | | Called when the momentum scroll starts (scroll which occurs as the ScrollView starts gliding) |
onMomentumScrollEnd | (event: NativeSyntheticEvent<NativeScrollEvent>) => void | Yes | | Called when the momentum scroll ends (scroll which occurs as the ScrollView glides to a stop) |
parallaxHeight | number | Yes | ifIphoneX(constants.responsiveHeight(38),constants.responsiveHeight(48)) | Set parallax header height |
refreshControl | element | Yes | | A RefreshControl component, used to provide pull-to-refresh functionality |
scrollEvent | (event: NativeSyntheticEvent<NativeScrollEvent>) => void | Yes | | Fires at most once per frame during scrolling (Used in custom animations) |
scrollRef | (t: ScrollView) => void | MutableRefObject<ScrollView> | Yes | | Get inner ScrollView ref |
snapStartThreshold | number | Yes | | Set start value Threshold of snap |
snapStopThreshold | number | Yes | | Set stop value Threshold of snap |
snapToEdge | boolean | Yes | true | Should snap header to edge when snap value is exceeded |
snapValue | boolean | Yes | parralax header height | Set value where header is closed |
subtitle | string | Yes | | Sets header subtitle |
title | string | Yes | | Sets header title |