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

[DataGrid] Improve headerClassName type #1778

Merged

Conversation

DanailH
Copy link
Member

@DanailH DanailH commented May 28, 2021

Breaking changes

  • [DataGrid] Improve headerClassName type

    -cellClassName?: string | string[] | (params: GridCellParams) => string;
    +cellClassName?: string | (params: GridCellParams) => string;
    -headerClassName?: string | string[];
    +headerClassName?: string | (params: GridColumnHeaderParams) => string;

Fixes #274

@DanailH DanailH added breaking change new feature New feature or request labels May 28, 2021
@DanailH DanailH self-assigned this May 28, 2021
@oliviertassinari oliviertassinari changed the title [DataGrid] Change headerClassName type [DataGrid] Improve headerClassName type May 28, 2021
@DanailH DanailH requested a review from m4theushw May 31, 2021 08:13
@DanailH DanailH merged commit b7e84aa into mui:master May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RFC] Only allow a string for headerClassName
4 participants