Skip to content

Commit

Permalink
Merge pull request #35 from moveyourdigital/issue-34-fix-table
Browse files Browse the repository at this point in the history
Fix Table block with new format
  • Loading branch information
lightningspirit authored Oct 27, 2021
2 parents c6f8927 + 57cc76c commit 3a4cc5b
Show file tree
Hide file tree
Showing 4 changed files with 254 additions and 68 deletions.
72 changes: 50 additions & 22 deletions src/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -133,20 +133,28 @@ Array [
</caption>
<thead>
<tr>
<th>
<th
scope="col"
>
Name
</th>
<th>
<th
scope="col"
>
Qtd
</th>
<th>
<th
scope="col"
>
Price
</th>
</tr>
</thead>
<tbody>
<tr>
<th>
<th
scope="row"
>
Kine
</th>
<td>
Expand All @@ -157,7 +165,9 @@ Array [
</td>
</tr>
<tr>
<th>
<th
scope="row"
>
Pigs
</th>
<td>
Expand All @@ -168,7 +178,9 @@ Array [
</td>
</tr>
<tr>
<th>
<th
scope="row"
>
Chickens
</th>
<td>
Expand All @@ -181,15 +193,17 @@ Array [
</tbody>
<tfoot>
<tr>
<th>
<th
scope="row"
>
Total
</th>
<th>
<td>
16 pcs
</th>
<th>
</td>
<td>
$450
</th>
</td>
</tr>
</tfoot>
</table>,
Expand Down Expand Up @@ -275,20 +289,28 @@ Array [
</caption>
<thead>
<tr>
<th>
<th
scope="col"
>
Name
</th>
<th>
<th
scope="col"
>
Qtd
</th>
<th>
<th
scope="col"
>
Price
</th>
</tr>
</thead>
<tbody>
<tr>
<th>
<th
scope="row"
>
Kine
</th>
<td>
Expand All @@ -299,7 +321,9 @@ Array [
</td>
</tr>
<tr>
<th>
<th
scope="row"
>
Pigs
</th>
<td>
Expand All @@ -310,7 +334,9 @@ Array [
</td>
</tr>
<tr>
<th>
<th
scope="row"
>
Chickens
</th>
<td>
Expand All @@ -323,15 +349,17 @@ Array [
</tbody>
<tfoot>
<tr>
<th>
<th
scope="row"
>
Total
</th>
<th>
<td>
16 pcs
</th>
<th>
</td>
<td>
$450
</th>
</td>
</tr>
</tfoot>
</table>,
Expand Down
Loading

0 comments on commit 3a4cc5b

Please sign in to comment.