Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(table-row): table row not allowing 1 child #302

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Pouiiro
Copy link

@Pouiiro Pouiiro commented Dec 1, 2023

Describe your changes

It seems like the table row component only accepts an array of elements, in multiple use-cases we have to add a react fragment / empty div for TS to stop complaining, this fix adds the possibility to have one element

Issue ticket number and link

  • Fixes #(issue)

Checklist before requesting a review

  • I have performed a self-review of my own code
  • I have verified that the code builds perfectly fine on my local system
  • I have added tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have verified that my code follows the style already available in the repository
  • I have made corresponding changes to the documentation

@Pouiiro Pouiiro requested a review from Tigge as a code owner December 1, 2023 10:49
@Pouiiro Pouiiro changed the title fix: table row not allowing 1 child fix(table-row): table row not allowing 1 child Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant