accessible-react-tabs
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -49,3 +49,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
role: 'tab', id: "tab-" + this.props.index, | ||
className: this.className, | ||
className: this.className(), | ||
'aria-selected': this.state.selected, | ||
@@ -52,0 +52,0 @@ 'aria-expanded': this.state.expanded, |
@@ -47,3 +47,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
role: 'tabpanel', id: "tabpanel-" + this.props.index, | ||
className: this.className, | ||
className: this.className(), | ||
'aria-expanded': this.state.expanded, | ||
@@ -50,0 +50,0 @@ 'aria-hidden': this.state.hidden, |
@@ -57,3 +57,3 @@ 'use strict'; | ||
role: 'tab', id: "tab-" + this.props.index, | ||
className: this.className, | ||
className: this.className(), | ||
'aria-selected': this.state.selected, | ||
@@ -60,0 +60,0 @@ 'aria-expanded': this.state.expanded, |
@@ -55,3 +55,3 @@ 'use strict'; | ||
role: 'tabpanel', id: "tabpanel-" + this.props.index, | ||
className: this.className, | ||
className: this.className(), | ||
'aria-expanded': this.state.expanded, | ||
@@ -58,0 +58,0 @@ 'aria-hidden': this.state.hidden, |
{ | ||
"name": "accessible-react-tabs", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Accessible tab component for React", | ||
@@ -5,0 +5,0 @@ "repository": { |
20986