mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 14:29:22 -05:00
639 B
639 B
Calendar
use chrono::prelude::*;
let value = create_rw_signal(Some(Local::now().date_naive()));
view! {
<Calendar value />
}
Calendar Props
Name | Type | Default | Desciption |
---|---|---|---|
class | OptionalProp<MaybeSignal<String>> |
Default::default() |
Addtional classes for the calendar element. |
value | Model<Option<NaiveDate>> |
Default::default() |
Set the calendar value |