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

feat(table): Wrap table components with forwardRef #1239

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

nigellima
Copy link
Collaborator

Summarize the changes made and the motivation behind them.
This PR wraps the Table components with forwardRef in order to accept ref objects/callbacks provided by the users

Reference related issues using # followed by the issue number.

If there are breaking API changes - like adding or removing props, or changing the structure of the theme - describe them, and provide steps to update existing code.

Copy link

vercel bot commented Jan 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
flowbite-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2024 9:54am

Copy link

codecov bot commented Jan 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7461173) 99.54% compared to head (97a3df0) 97.36%.
Report is 186 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1239      +/-   ##
==========================================
- Coverage   99.54%   97.36%   -2.18%     
==========================================
  Files         163      214      +51     
  Lines        6621     9083    +2462     
  Branches      401      530     +129     
==========================================
+ Hits         6591     8844    +2253     
- Misses         30      239     +209     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@SutuSebastian SutuSebastian left a comment

Choose a reason for hiding this comment

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

nice

@SutuSebastian SutuSebastian merged commit 4a26a50 into themesberg:main Jan 22, 2024
5 checks passed
abdulbasithqb pushed a commit to abdulbasithqb/flowbite-react that referenced this pull request Jan 31, 2024
* feat(table): wrap table components with forwardRef

* fix(table): use ComponentPropsWithRef instead of ComponentProps
abdulbasithqb pushed a commit to abdulbasithqb/flowbite-react that referenced this pull request Jan 31, 2024
* feat(table): wrap table components with forwardRef

* fix(table): use ComponentPropsWithRef instead of ComponentProps
@github-actions github-actions bot mentioned this pull request Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants