Last active
January 15, 2018 06:43
-
-
Save WinDevInd/8c9991ba7ea20533fbf9c69011dc398b to your computer and use it in GitHub Desktop.
Tab component Contract
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const _tabHeader:{ | |
selected: <div>{tab}</div>, | |
notSelected: <div>{tab}</div> | |
}; | |
const _tabContent = <ReviewsList | |
reviews={ _reviews } | |
loading={ this.state.showLoader }/>; | |
_tabContents.push( | |
{ | |
tabHeader: _tabHeader, | |
tabContent: _tabContent | |
}); | |
<Tabs tabsEquiSized={false} tabsData={_tabContents} | |
header={header} | |
styles={tabStyle} | |
staticHeader={true} | |
initialActiveTab={0} | |
itemMargin = '50' | |
isSwipable={true}> | |
</Tabs> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment