Updates to client

This commit is contained in:
2025-05-01 22:21:51 -04:00
parent 4f976fb7af
commit e9b914c88b
16 changed files with 205 additions and 22 deletions

View File

@@ -0,0 +1,20 @@
use dioxus::prelude::*;
#[derive(PartialEq, Clone, Props)]
pub struct ButtonProps {
variant: Option<ButtonVariant>,
text: String,
}
#[derive(PartialEq, Clone)]
pub enum ButtonVariant {
Base,
Muted,
Accented,
}
pub fn Button(props: ButtonProps) -> Element {
rsx! {
button { "{props.text}" }
}
}