We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c6f2b6 commit 95c6779Copy full SHA for 95c6779
src/components/tabs/Tabs.js
@@ -74,12 +74,11 @@ const Tabs = props => {
74
childProps.activeLabelClassName),
75
{active}
76
)}
77
- // href="#"
78
- style={
79
- active
80
- ? {...childProps.label_style, ...childProps.active_label_style}
81
- : childProps.label_style
82
- }
+ style={{
+ ...(active && childProps.active_label_style),
+ ...(!childProps.disabled && {cursor: 'pointer'}),
+ ...childProps.label_style
+ }}
83
disabled={childProps.disabled}
84
onClick={() => {
85
if (!childProps.disabled) {
0 commit comments