How to use the react-navigation-collapsible.withCollapsibleForTab function in react-navigation-collapsible

To help you get started, we’ve selected a few react-navigation-collapsible examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github benevbright / react-navigation-collapsible / example / src / S2_DefaultHeaderForTab.js View on Github external
indicatorStyle: {backgroundColor: 'white'},
        style: {
          borderTopColor: 'transparent',
          borderTopWidth: 0,
          elevation: 0,
          backgroundColor: '#061',
        },
      },
    },
    navigationOptions: {
      title: 'My Group 1',
    },
  },
);

export default withCollapsibleForTab(TopTabNavigator, {
  iOSCollapsedColor: '#032',
});
github benevbright / react-navigation-collapsible / example / src / S3_ExtraHeaderForTab.js View on Github external
}}
      />
    
  );
};

const collapsibleParams = {
  collapsibleComponent: GroupImageHeader,
  collapsibleBackgroundStyle: {
    height: 200,
    backgroundColor: '#061',
    disableFadeoutInnerComponent: true,
  },
};

export default withCollapsibleForTab(TopTabNavigator, collapsibleParams);

react-navigation-collapsible

An extension of react-navigation for the collapsible header

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis