try:
import styles from "./ListGroup.module.css";
and then where you apply it:
className={styles.list-group-item}