thaw/demo_markdown/docs/calendar/mod.md
2024-07-10 16:37:38 +08:00

636 B

Calendar

use chrono::prelude::*;
let value = RwSignal::new(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