summaryrefslogtreecommitdiff
path: root/examples/with-markdown/src/components/SvelteCounter.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-markdown/src/components/SvelteCounter.svelte')
-rw-r--r--examples/with-markdown/src/components/SvelteCounter.svelte22
1 files changed, 0 insertions, 22 deletions
diff --git a/examples/with-markdown/src/components/SvelteCounter.svelte b/examples/with-markdown/src/components/SvelteCounter.svelte
deleted file mode 100644
index 8d6b3f5e1..000000000
--- a/examples/with-markdown/src/components/SvelteCounter.svelte
+++ /dev/null
@@ -1,22 +0,0 @@
-
-<script>
- let children;
- 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>