2021-05-12 14:47:18 +02:00
|
|
|
<script>
|
|
|
|
import {locals} from "../ts/stores.js";
|
|
|
|
import LocalsTest from "./LocalsTest.svelte";
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
.render-mode {
|
|
|
|
text-align: center;
|
|
|
|
background: gray;
|
|
|
|
padding: 8px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<div class="render-mode">{$locals.isPreRender ? 'SSR' : 'CSR'}</div>
|
|
|
|
|
2021-11-09 19:27:33 +01:00
|
|
|
<div class="data-table-container">
|
|
|
|
<table class="data-table">
|
|
|
|
<thead>
|
2021-05-12 14:47:18 +02:00
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Expected value</th>
|
|
|
|
<th>Actual value</th>
|
|
|
|
</tr>
|
2021-11-09 19:27:33 +01:00
|
|
|
</thead>
|
2021-05-12 14:47:18 +02:00
|
|
|
|
2021-11-09 19:27:33 +01:00
|
|
|
<tbody>
|
2021-05-12 14:47:18 +02:00
|
|
|
<LocalsTest/>
|
2021-11-09 19:27:33 +01:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|