Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Align properties across objects (table-like) #78

Description

@dami-i

Is there a way to align properties across objects (same properties) to reach a table-like result, as follows?

const arrOfObj = [
  { propA: "first element",         propB: "value one",                  propC: "a"                   },
  { propA: "second element longer", propB: "value two",                  propC: "bee"                 },
  { propA: "third element",         propB: "value three is the longest", propC: "see they're aligned" },
];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions