From f05a472585b2506da21aed71f0252b2d4c04a221 Mon Sep 17 00:00:00 2001
From: Indrajith K L
Date: Mon, 5 Feb 2024 04:15:02 +0530
Subject: React Slides

* Adds useState
* State
* useEffect
* Side Effects
---
 src/lib/components/stretch.svelte | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 src/lib/components/stretch.svelte

(limited to 'src/lib/components/stretch.svelte')

diff --git a/src/lib/components/stretch.svelte b/src/lib/components/stretch.svelte
new file mode 100644
index 0000000..be808d5
--- /dev/null
+++ b/src/lib/components/stretch.svelte
@@ -0,0 +1,13 @@
+<script lang="ts">
+	export let type = 'p'
+
+	delete $$restProps.class
+</script>
+
+<svelte:element
+	this={type}
+	class="r-stretch {$$props.class || ''}"
+	{...$$restProps}
+>
+	<slot />
+</svelte:element>
-- 
cgit v1.2.3

