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

[data grid] Improve GridToolbarExportProps type #14524

Closed
wants to merge 2 commits into from

Conversation

k-rajat19
Copy link
Contributor

Closes #14468

@@ -32,7 +32,6 @@ export interface GridToolbarExportProps {
* @default {}
*/
slotProps?: { button?: Partial<ButtonProps>; tooltip?: Partial<TooltipProps> };
[key: string]: any;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should not be more explicit here, like excelOptions:any or some such; doing this will leak the type to community users as well which may not be good DX wise.

@oliviertassinari oliviertassinari changed the title [data grid]: improve GridToolbarExportProps type [data grid] Improve GridToolbarExportProps type Sep 7, 2024
@zannager zannager added the component: data grid This is the name of the generic UI component, not the React module! label Sep 9, 2024
@k-rajat19
Copy link
Contributor Author

@k-rajat19 k-rajat19 closed this Sep 19, 2024
@k-rajat19 k-rajat19 deleted the toolbar branch September 19, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[data grid] module augmentation not working with datagrid's custom toolbar
2 participants