mirror of https://github.com/twbs/bootstrap.git
Docs: Add `.table` class to color tables example (#41691)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
This commit is contained in:
parent
22b1582001
commit
a715174c55
|
@ -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>`),
|
||||||
|
|
Loading…
Reference in New Issue