Skip to content

Commit

Permalink
* list: fix hover and state className in listitem.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Dec 4, 2023
1 parent 3bedcda commit 9a29cc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/list/src/component/listitem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ export class Listitem<P extends ListitemProps = ListitemProps, S = {}> extends H
active,
disabled,
'has-divider': divider,
'has-hover state': hover,
'has-hover': hover,
checked,
multiline: multiline ?? !!(title && subtitle),
state: asLink,
state: asLink && !disabled,
}),
}, asLink ? {href: url, target} : null, extraAttrs, innerAttrs);
return (
Expand Down

0 comments on commit 9a29cc7

Please sign in to comment.