synpad 0.1.0

A full-featured Matrix chat client built with Dioxus
1
2
3
4
5
6
7
8
9
10
11
12
13
use dioxus::prelude::*;

/// Tooltip component that shows on hover.
#[component]
pub fn Tooltip(children: Element, text: String) -> Element {
    rsx! {
        div {
            class: "tooltip-wrapper",
            title: "{text}",
            {children}
        }
    }
}