You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,10 +71,10 @@ var App = React.createClass({
71
71
72
72
## Props
73
73
74
-
-**`renderTabBar`**_(Function:ReactComponent)_ - should return a component to use as
74
+
-**`renderTabBar`**_(Function:ReactComponent)_ - accept 1 argument `props` and should return a component to use as
75
75
the tab bar. The component has `goToPage`, `tabs`, `activeTab` and
76
76
`ref` added to the props, and should implement `setAnimationValue` to
77
-
be able to animate itself along with the tab content.
77
+
be able to animate itself along with the tab content. You can manually pass the `props` to the TabBar component.
78
78
-**`tabBarPosition`**_(String)_ Defaults to `"top"`.
79
79
-`"bottom"` to position the tab bar below content.
80
80
-`"overlayTop"` or `"overlayBottom"` for a semitransparent tab bar that overlays content. Custom tab bars must consume a style prop on their outer element to support this feature: `style={this.props.style}`.
0 commit comments