Skip to content

Commit 7f58bcb

Browse files
committed
added numeric to the default example as well
1 parent 2c6639b commit 7f58bcb

File tree

2 files changed

+25
-17
lines changed

2 files changed

+25
-17
lines changed

packages/ui-extensions/src/surfaces/admin/components/Table/examples/default.html

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,27 @@
33
<s-table-header-row>
44
<s-table-header>Name</s-table-header>
55
<s-table-header>Email</s-table-header>
6+
<s-table-header format="numeric">Orders placed</s-table-header>
67
<s-table-header>Phone</s-table-header>
78
</s-table-header-row>
89
<s-table-body>
910
<s-table-row>
10-
<s-table-cell>John Doe</s-table-cell>
11-
<s-table-cell>[email protected]</s-table-cell>
11+
<s-table-cell>John Smith</s-table-cell>
12+
<s-table-cell>[email protected]</s-table-cell>
13+
<s-table-cell>23</s-table-cell>
1214
<s-table-cell>123-456-7890</s-table-cell>
1315
</s-table-row>
1416
<s-table-row>
15-
<s-table-cell>Jane Doe</s-table-cell>
16-
<s-table-cell>[email protected]</s-table-cell>
17-
<s-table-cell>123-456-7890</s-table-cell>
17+
<s-table-cell>Jane Johnson</s-table-cell>
18+
<s-table-cell>[email protected]</s-table-cell>
19+
<s-table-cell>15</s-table-cell>
20+
<s-table-cell>234-567-8901</s-table-cell>
1821
</s-table-row>
1922
<s-table-row>
20-
<s-table-cell>Brandon Doe</s-table-cell>
21-
<s-table-cell>[email protected]</s-table-cell>
22-
<s-table-cell>123-456-7890</s-table-cell>
23+
<s-table-cell>Brandon Williams</s-table-cell>
24+
<s-table-cell>[email protected]</s-table-cell>
25+
<s-table-cell>42</s-table-cell>
26+
<s-table-cell>345-678-9012</s-table-cell>
2327
</s-table-row>
2428
</s-table-body>
2529
</s-table>

packages/ui-extensions/src/surfaces/admin/components/Table/examples/default.jsx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,28 @@
33
<s-table-header-row>
44
<s-table-header>Name</s-table-header>
55
<s-table-header>Email</s-table-header>
6+
<s-table-header format="numeric">Orders placed</s-table-header>
67
<s-table-header>Phone</s-table-header>
78
</s-table-header-row>
89
<s-table-body>
910
<s-table-row>
10-
<s-table-cell>John Doe</s-table-cell>
11-
<s-table-cell>[email protected]</s-table-cell>
11+
<s-table-cell>John Smith</s-table-cell>
12+
<s-table-cell>[email protected]</s-table-cell>
13+
<s-table-cell>23</s-table-cell>
1214
<s-table-cell>123-456-7890</s-table-cell>
1315
</s-table-row>
1416
<s-table-row>
15-
<s-table-cell>Jane Doe</s-table-cell>
16-
<s-table-cell>[email protected]</s-table-cell>
17-
<s-table-cell>123-456-7890</s-table-cell>
17+
<s-table-cell>Jane Johnson</s-table-cell>
18+
<s-table-cell>[email protected]</s-table-cell>
19+
<s-table-cell>15</s-table-cell>
20+
<s-table-cell>234-567-8901</s-table-cell>
1821
</s-table-row>
1922
<s-table-row>
20-
<s-table-cell>Brandon Doe</s-table-cell>
21-
<s-table-cell>[email protected]</s-table-cell>
22-
<s-table-cell>123-456-7890</s-table-cell>
23+
<s-table-cell>Brandon Williams</s-table-cell>
24+
<s-table-cell>[email protected]</s-table-cell>
25+
<s-table-cell>42</s-table-cell>
26+
<s-table-cell>345-678-9012</s-table-cell>
2327
</s-table-row>
2428
</s-table-body>
2529
</s-table>
26-
</s-section>
30+
</s-section>

0 commit comments

Comments
 (0)