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
14
15
use leptos::prelude::*;

use crate::form::OptionBind;

#[derive(Clone)]
pub(crate) struct RadioGroupInjection {
    pub value: OptionBind<String>,
    pub name: Signal<String>,
}

impl RadioGroupInjection {
    pub fn expect_context() -> Self {
        expect_context()
    }
}