orbital-base-components 0.1.1

Headless base primitives for Orbital — structure, semantics, and accessibility
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use leptos::prelude::*;

#[derive(Clone, Copy)]
pub struct FloatingActionsMenuInjection {
    pub open: RwSignal<bool>,
    pub persistent_tooltips: Signal<bool>,
}

impl FloatingActionsMenuInjection {
    pub fn expect_context() -> Self {
        expect_context::<Self>()
    }
}