chart initial import

This commit is contained in:
Jan Prochazka
2021-03-19 20:12:13 +01:00
parent 75c578de47
commit 489c9a905c
17 changed files with 617 additions and 9 deletions

View File

@@ -0,0 +1,20 @@
<script lang="ts">
export let label;
export let labelProps: any = {};
</script>
<div class="row">
<div class="label" {...labelProps} on:click={labelProps.onClick}>{label}</div>
<div><slot /></div>
</div>
<style>
.row {
display: flex;
margin: 10px;
}
.label {
width: 10vw;
font-weight: bold;
}
</style>