pib-components-dx-base 0.0.0-upstream-snapshot.2026-09-19.1

temporary fork for Politik im Blick - Dioxus components
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::super::component::*;
use dioxus::prelude::*;

#[component]
pub fn Demo() -> Element {
    rsx! {
        RadioGroup {
            RadioItem { value: "option1".to_string(), index: 0usize, "Blue" }
            RadioItem { value: "option2".to_string(), index: 1usize, "Red" }
            RadioItem { value: "option3".to_string(), index: 2usize, disabled: true, "Green" }
        }
    }
}