impulse-thaw 0.4.5-ui-kit-3

An easy to use leptos component library. Edited for Impulse
Documentation
1
2
3
4
5
6
7
8
9
10
use leptos::prelude::*;
use thaw_utils::class_list;

#[component]
pub fn MessageBarTitle(
    #[prop(optional, into)] class: MaybeProp<String>,
    children: Children,
) -> impl IntoView {
    view! { <span class=class_list!["thaw-message-bar-title", class]>{children()}</span> }
}