Skip to content

Internal native module for iOS, to render tabs with collapsible header

Notifications You must be signed in to change notification settings

smartkarma/react-native-collapsible-scroll-view

Repository files navigation

react-native-collapsible-scroll-view

Getting started

$ yarn add react-native-collapsible-scroll-view

Usage

import scrollViewSync from 'react-native-collapsible-scroll-view';

Methods

clearScrollViewHandle

Used to clear handles, when view is unmounted componentDidUnmount

setScrollViewsHandle

// Example passing nodes and measurements
scrollViewSync.setScrollViewsHandle(
        tabIndices,
        this.headerNodeHandle,
        this.state.headerHeight - TABBAR_HEIGHT,
        this.tabsScrollViewNodeHandle,
        this.tabsIndicatorViewNodeHandle,
        this.tabContentScrollViewNodeHandle,
        initialLayout.width,
        this.renderedTabsWidth
      );

About

Internal native module for iOS, to render tabs with collapsible header

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published