bcgov / bcgov/react-shared-components

Adding support for a variable number of columns in the Table component

Open
#373 2 comments 0 reactions 0 assignees View on GitHub
approved
Dominant language
JavaScript
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Currently the table component only supports two columns that are in a key-value pair format. This can be a bit limiting for more complex datasets may require multiple columns of different types of data.

**Describe the solution you'd like**
I'd like the the table component to support a different format that allows for N columns. Maybe the component could have a configurable number of columns, and you could pass in N length arrays of objects for each row to populate it?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.