Create frontend UI to display all companies
gruz0 opened this issue · 0 comments
gruz0 commented
We need to add a new component called CompaniesList
to the companies screen, which will display all the companies with their attributes.
You will need to fetch the companies from the API endpoint that you have already created and pass them into the CompaniesList
component. Your task is to implement this functionality while adhering to the same code organization as the EmployeesList component.
Steps:
- Implement the
CompaniesList
component, which should be similar to theEmployeesList
component, to display the attributes of each company. - Integrate the
CompaniesList
component into the companies screen. - Fetch companies data from the API endpoint that you have created and pass it into the
CompaniesList
component. - Ensure that the code organization for the
CompaniesList
component matches that of theEmployeesList
component. - Test the
CompaniesList
component to ensure that it is displaying the companies and their attributes correctly.
Please take a look into employees list screen. I hope it will be helpful for you :-)