React component to render a list of items