zino-dioxus 0.1.4

Dioxus components for zino.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::theme::Theme;
use dioxus::prelude::*;

/// A vertical menu used in the navigation aside.
pub fn Sidebar<'a>(cx: Scope<'a, SidebarProps<'a>>) -> Element {
    render! {
        div {}
    }
}

/// The [`Sidebar`] properties struct for the configuration of the component.
#[derive(Debug, PartialEq, Props)]
pub struct SidebarProps<'a> {
    /// Theme.
    theme: &'a Theme,
}