themesberg / themesberg/flowbite-react
Add color suport to Table component
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 506
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
Right now the Table component doesn't support color=.
Describe the solution you'd like
I want to be able to change the Table color with:
<Table striped color={purple}>...</Table>
It needs to support the following formats:
- Solid
- Row striped
- Column striped
- Hovered
Describe alternatives you've considered
N/A
Additional context
Standard Flowbite documentation: https://flowbite.com/docs/components/tables/#table-colors
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Table component and compare its current color behavior with the Flowbite table-colors documentation linked in the issue. Support the requested solid, row-striped, column-striped, and hovered formats, and verify that the JSX usage shown in the issue works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, tailwindcss, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100