0

I'm a beginner using React to create a website. We are trying to create a table where each row contains different details of information about an object. Specifically, we are trying to create rows like this.

From my perspective, our approach should be to create a list of these entry objects and somehow map their components into each row of a table. It would also be best if the table were not restricted to columns via key/value pairs such as the ones discussed in this post.

Any advice or guidance would be appreciated.

1
  • can you show what you've tried so far? How is your React app organized, what does your data for each row look like, where are you getting it from? Commented Feb 22, 2021 at 21:03

1 Answer 1

0

Here is how you can create a list using JSON.

let list = [{ item : 1 }, { item 2 }];

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.