summary refs log tree commit diff
path: root/src/components/editor/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/editor/mod.rs')
-rw-r--r--src/components/editor/mod.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/editor/mod.rs b/src/components/editor/mod.rs
index e69de29..05e45d3 100644
--- a/src/components/editor/mod.rs
+++ b/src/components/editor/mod.rs
@@ -0,0 +1,13 @@
+use leptos::prelude::*;
+use leptos::{island, view, IntoView};
+
+#[island]
+pub fn WikiEditor(
+    url_path: String,
+) -> impl IntoView {
+    view! {
+        <h1>Article (Editing)</h1>
+        <p>Page render</p>
+        <pre>{url_path}</pre>
+    }
+}