summaryrefslogtreecommitdiff
path: root/examples/with-svelte/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-svelte/src/components')
-rw-r--r--examples/with-svelte/src/components/Counter.svelte20
1 files changed, 0 insertions, 20 deletions
diff --git a/examples/with-svelte/src/components/Counter.svelte b/examples/with-svelte/src/components/Counter.svelte
deleted file mode 100644
index 9aaf421c1..000000000
--- a/examples/with-svelte/src/components/Counter.svelte
+++ /dev/null
@@ -1,20 +0,0 @@
-<script>
- let count = 0;
-
- function add() {
- count += 1;
- }
-
- function subtract() {
- count -= 1;
- }
-</script>
-
-<div class="counter">
- <button on:click={subtract}>-</button>
- <pre>{ count }</pre>
- <button on:click={add}>+</button>
-</div>
-<div class="children">
- <slot />
-</div>