You need to implement the frontend part for the following user story. Please, make sure all of the acceptance criteria are met.
As a user, I want to be able to search and filter policies based on the data displayed on the table.
- When a filter is applied, I want to see the filtered information on the same table.
- When a filter is applied, I want to be able to clear the current filter, this action will display the original information.
- The results have to be paginated
- Show only ACTIVE and PENDING policies.
- Do not display any results if there are no matches
- Names should be filtered using a text input, other data should be filtered using dropdowns
- Clearing the search should return the table to its original state