Reusable component in Angular 10 for displaying a list of items