Skip to content

Commit

Permalink
Tab should show pointer on mouse over (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcbegley committed Feb 4, 2022
1 parent 4c6f2b6 commit 95c6779
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/components/tabs/Tabs.js
Expand Up @@ -74,12 +74,11 @@ const Tabs = props => {
childProps.activeLabelClassName),
{active}
)}
// href="#"
style={
active
? {...childProps.label_style, ...childProps.active_label_style}
: childProps.label_style
}
style={{
...(active && childProps.active_label_style),
...(!childProps.disabled && {cursor: 'pointer'}),
...childProps.label_style
}}
disabled={childProps.disabled}
onClick={() => {
if (!childProps.disabled) {
Expand Down

0 comments on commit 95c6779

Please sign in to comment.