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(DataTableSkeleton): fix support for visible headers #7855

Merged
merged 4 commits into from
Feb 24, 2021

Conversation

tw15egan
Copy link
Collaborator

@tw15egan tw15egan commented Feb 19, 2021

Closes #7302

Fixes support for visible headers in DataTableSkeleton. headers prop was not being properly passed down to DataTableSkeleton. Now, if the headers array exists, it is fed into the Table headers. If not, it renders the skeleton spans as before.

Changelog

Changed

  • headers prop now works as expected

Testing / Reviewing

Ensure table headers now render on DataTableSkeleton

@netlify
Copy link

netlify bot commented Feb 19, 2021

Deploy preview for carbon-elements ready!

Built with commit 34e5a04

https://deploy-preview-7855--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Feb 19, 2021

Deploy preview for carbon-components-react ready!

Built with commit 34e5a04

https://deploy-preview-7855--carbon-components-react.netlify.app

@tw15egan tw15egan requested a review from a team as a code owner February 19, 2021 20:48
Copy link
Contributor

@jnm2377 jnm2377 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🔥

@kodiakhq
Copy link
Contributor

kodiakhq bot commented Feb 24, 2021

This PR currently has a merge conflict. Please resolve this and then re-add the status: ready to merge 🎉 label.

@kodiakhq kodiakhq bot merged commit 3688fec into carbon-design-system:master Feb 24, 2021
@dakahn dakahn mentioned this pull request Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'headers' prop in DataTableSkeleton component is not working
3 participants