impulse_thaw/combobox/combobox_option_group.rs
1use super::option_group::OptionGroup;
2use leptos::prelude::*;
3
4#[component]
5pub fn ComboboxOptionGroup(
6 #[prop(optional, into)] class: MaybeProp<String>,
7 /// Label of the group.
8 #[prop(into)]
9 label: String,
10 children: Children,
11) -> impl IntoView {
12 view! { <OptionGroup class_prefix="thaw-combobox-option-group" class label children /> }
13}