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

/// State event display (membership changes, room name changes, etc.)
#[component]
pub fn StateEventView(description: String) -> Element {
    rsx! {
        div {
            class: "state-event",
            span {
                class: "state-event__text",
                "{description}"
            }
        }
    }
}