Skip to main content
Version: 1.0.x

Custom Sticky Header

Example usage​

Check custom header example

Props​

StickyHeaderScrollViewProps​

Inherits ScrollViewProps and Shared StickyHeader props

StickyHeaderFlatListProps​

Inherits FlatListProps and Shared StickyHeader props

StickyHeaderSectionListProps​

Inherits SectionListProps and Shared StickyHeader props

Shared StickyHeader props​

PropTypeDefault value
containerStylestyle - StyleProp<ViewStyle>-
onHeaderLayoutfunction - (e: LayoutChangeEvent) => void-
onMomentumScrollBeginworklet function - (e: NativeScrollEvent) => void-
onMomentumScrollEndworklet function - (e: NativeScrollEvent) => void-
onScrollworklet function - (e: NativeScrollEvent) => void-
onScrollBeginDragworklet function - (e: NativeScrollEvent) => void-
onScrollEndDragworklet function - (e: NativeScrollEvent) => void-
onTabsLayoutfunction - (e: LayoutChangeEvent) => void-
renderHeaderrender function-
renderTabsrender function-
stickyTabsbooleantrue