1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

Docs: Add .table class to color tables example (#41691)

Co-authored-by: Julien Déramond <juderamond@gmail.com>
This commit is contained in:
Stefan Korn
2025-09-06 22:25:43 +02:00
committed by GitHub
parent 22b1582001
commit a715174c55

View File

@@ -52,7 +52,7 @@ Use contextual classes to color tables, table rows or individual cells.
<Code code={[ <Code code={[
`<!-- On tables -->`, `<!-- On tables -->`,
...getData('theme-colors').map((themeColor) => `<table class="table-${themeColor.name}">...</table>`), ...getData('theme-colors').map((themeColor) => `<table class="table table-${themeColor.name}">...</table>`),
` `
<!-- On rows -->`, <!-- On rows -->`,
...getData('theme-colors').map((themeColor) => `<tr class="table-${themeColor.name}">...</tr>`), ...getData('theme-colors').map((themeColor) => `<tr class="table-${themeColor.name}">...</tr>`),