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 row zebra styling #42

Merged
merged 1 commit into from
Feb 12, 2022
Merged

Add row zebra styling #42

merged 1 commit into from
Feb 12, 2022

Conversation

nathanpdaniel
Copy link

Adds row styling to allow alternating row colors. New props on Table or TableBody are zebra, evenRowColor, and oddRowColor.

To default alternating colors, simply add the zebra prop to Table or TableBody, or add evenRowColor with the desired color value (lightgray, #cccccc, red, etc.)

@nathanpdaniel nathanpdaniel mentioned this pull request Feb 7, 2022
@dmk99 dmk99 merged commit b9a51c5 into dmk99:master Feb 12, 2022
@dmk99
Copy link
Owner

dmk99 commented Feb 12, 2022

Thanks for adding this feature!

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.

2 participants