We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8b6c92 commit da8ade4Copy full SHA for da8ade4
src/components/ListGroup.tsx
@@ -23,7 +23,10 @@ export const ListGroup: FC<ListGroupProps> = ({ items }) => {
23
onClick={item.onClick}
24
className={classNames(
25
'flex w-full items-center gap-2 py-2 px-4 text-left text-sm font-medium first:rounded-t-lg last:rounded-b-lg',
26
- {},
+ {
27
+ '!bg-blue-700 text-white': item.active,
28
+ 'hover:bg-gray-100 hover:text-blue-700 dark:hover:bg-gray-600 dark:hover:text-white': !item.active,
29
+ },
30
)}
31
type="button"
32
>
0 commit comments