refactoring Composer part3

This commit is contained in:
Samuel Andert
2023-08-03 15:29:46 +02:00
parent 02d068fef3
commit 73796c756f
6 changed files with 19 additions and 84 deletions

View File

@ -1,4 +1,5 @@
<script>
export let me;
export let store;
export let machineService;
@ -10,6 +11,8 @@
</script>
<div class="border-2 border-yellow-500">
<p>My ID is: {me.id}</p>
i am the child and this is my state: {$store.machine.state}
<button
class="px-4 py-2 font-bold text-white bg-blue-500 rounded hover:bg-blue-700"