at main 16 lines 448 B view raw
1use dioxus::prelude::*; 2use jacquard::types::tid::Tid; 3 4/// The Blog page component that will be rendered when the current route is `[Route::Blog]` 5/// 6/// The component takes a `id` prop of type `i32` from the route enum. Whenever the id changes, the component function will be 7/// re-run and the rendered HTML will be updated. 8#[component] 9pub fn NotebookPage(id: Tid, children: Element) -> Element { 10 rsx! { 11 div { 12 13 14 } 15 } 16}