refactoring Composer part3
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user