Skip to content

Commit 74bb3f9

Browse files
author
Mateusz Łubianka
committed
Add striped table html snippet
1 parent feb1bf9 commit 74bb3f9

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ Modal Cookies | !mdb-modal-cookies
198198
Name of component | Shortcut
199199
------------ | -------------
200200
Basic Example | !mdb-table
201+
Striped Table | !mdb-table-striped
201202

202203
-----------------------------------------------------------------------------------------------------------
203204

snippets/html/tables/basic-examples.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,42 @@
3434
"</table>"
3535
],
3636
"description": "Creates MDbootstrap Basic Table"
37+
},
38+
"MDBootstrap Striped Table": {
39+
"prefix": "!mdb-table-striped",
40+
"body": [
41+
"<table class=\"table table-striped\">",
42+
" <thead>",
43+
" <tr>",
44+
" <th scope=\"col\">#</th>",
45+
" <th scope=\"col\">First</th>",
46+
" <th scope=\"col\">Last</th>",
47+
" <th scope=\"col\">Handle</th>",
48+
" </tr>",
49+
" </thead>",
50+
" <tbody>",
51+
" <tr>",
52+
" <th scope=\"row\">1</th>",
53+
" <td>Mark</td>",
54+
" <td>Otto</td>",
55+
" <td>@mdo</td>",
56+
" </tr>",
57+
" <tr>",
58+
" <th scope=\"row\">2</th>",
59+
" <td>Jacob</td>",
60+
" <td>Thornton</td>",
61+
" <td>@fat</td>",
62+
" </tr>",
63+
" <tr>",
64+
" <th scope=\"row\">3</th>",
65+
" <td>Larry</td>",
66+
" <td>the Bird</td>",
67+
" <td>@twitter</td>",
68+
" </tr>",
69+
" </tbody>",
70+
"</table>"
71+
],
72+
"description": "Creates MDbootstrap Striped Table"
3773
}
3874

3975
}

0 commit comments

Comments
 (0)