diff options
Diffstat (limited to 'src/components/editor')
-rw-r--r-- | src/components/editor/mod.rs | 13 |
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> + } +} |