Create separate component for record list