react-router-tabs
Advanced tools
Changelog
[1.2.0] - 2018-06-16
allowClickOnActive
to NavTab
to support re-selecting active tabs.RoutedTabs
to prevent passing down props to DOM elements.elementType
prop to RoutedTabs
to change the container element.to
prop-type to include objects.aria-current
attribute and handling of missing paths (as per updates to React Router's NavLink
).activeTabClassName
.Changelog
[1.1.0] - 2018-02-11
disabled
prop to NavTab
. Prevents the click action when true.NavTab
exact
prop now correctly defaults to true. This enables nested tabs by default and keeps presentational behaviour consistent with RR's NavLink
.NavTab
given default classNames. Previously these were set only when RoutedTabs
component was used."react-router-tabs"
class, so that styles can work when NavTabs are used on their own. The class will still be given to RoutedTabs
for compatibility with older versions of the stylesheet.RoutedTabs
usage wherever not needed in examples.Changelog
[1.0.3] - 2017-12-30
RoutedTabs
updated to handle null children (when tabs are rendered conditionally).