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

Add TypeScript types to DataTable #12515

Closed
Tracked by #12513
tay1orjones opened this issue Nov 7, 2022 · 3 comments · Fixed by #14149
Closed
Tracked by #12513

Add TypeScript types to DataTable #12515

tay1orjones opened this issue Nov 7, 2022 · 3 comments · Fixed by #14149
Labels
area: typescript hacktoberfest See https://hacktoberfest.com/ needs: community contribution Due to roadmap and resource availability, we are looking for outside contributions on this issue. role: dev 🤖 status: help wanted 👐

Comments

@tay1orjones
Copy link
Member

No description provided.

@mbarrer
Copy link
Contributor

mbarrer commented Feb 21, 2023

Starting work on this one

@mbarrer
Copy link
Contributor

mbarrer commented Feb 21, 2023

After working through this one a bit, its probably better to start with the smaller table components first as this component will reference types found in these smaller components. Switching to work on another table component

@djragsdale
Copy link
Contributor

djragsdale commented Jul 6, 2023

There's only a few related components yet to be upgraded to TS. I went ahead and took a go of it in #14149, attempting to change as little as possible within the actual code. Not having the renderProps defined was getting particularly frustrating. I also added a few nested interfaces that can be easily applied in custom state managers, such as DataTableRow and DataTableCell.

@kodiakhq kodiakhq bot closed this as completed in #14149 Jul 10, 2023
kodiakhq bot pushed a commit that referenced this issue Jul 10, 2023
* feat(react): add DataTable types

Add TypeScript types for the DataTable component for better developer experience

Closes #12515

* fix: format & lint

---------

Co-authored-by: Francine Lucca <[email protected]>
Co-authored-by: Francine Lucca <[email protected]>
Co-authored-by: Andrea N. Cardona <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: typescript hacktoberfest See https://hacktoberfest.com/ needs: community contribution Due to roadmap and resource availability, we are looking for outside contributions on this issue. role: dev 🤖 status: help wanted 👐
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants