Skip to content

Commit da8ade4

Browse files
authored
chore: edit ListGroup component
1 parent a8b6c92 commit da8ade4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/ListGroup.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ export const ListGroup: FC<ListGroupProps> = ({ items }) => {
2323
onClick={item.onClick}
2424
className={classNames(
2525
'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-
{},
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+
},
2730
)}
2831
type="button"
2932
>

0 commit comments

Comments
 (0)