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

BodyCell className using headerClassName prop #407

Closed
carlosfpo opened this issue May 10, 2018 · 1 comment
Closed

BodyCell className using headerClassName prop #407

carlosfpo opened this issue May 10, 2018 · 1 comment
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@carlosfpo
Copy link
Contributor

[x] bug report

Current behavior
According to the docs, there is a bodyClassName prop on the Column component. Which isn't being used. Strangely, body cells get the class in the headerClassName prop.

Expected behavior
BodyCell class should receive the value in bodyClassName instead of headerClassName

Minimal reproduction of the problem with instructions
https://plnkr.co/edit/VB7i7C5FE4TWcJswBNNq?p=preview

  • React version:
    "react": "^16.3.2",

  • PrimeReact version:
    "primereact": "^1.5.1",

@mertsincan
Copy link
Member

Thanks a lot for the PR!

@mertsincan mertsincan self-assigned this May 11, 2018
@mertsincan mertsincan added this to the 1.6.0 milestone May 11, 2018
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants