pub fn DefaultNaiveTimeTableCellRenderer<F>(
    props: DefaultNaiveTimeTableCellRendererProps<F>
) -> impl IntoView
where F: Fn(NaiveTime) + 'static,
Available on crate feature chrono only.
Expand description

The default cell renderer for chrono::NaiveTime.

This is only available when the crate feature chrono is enabled

§Required Props

  • class: String
    • The class attribute for the cell element. Generated by the classes provider.
  • value: impl Into<MaybeSignal<NaiveTime>>
    • The value to display.
  • on_change: [F]
    • Event handler called when the cell is changed. In this default renderer this will never happen.
  • index: usize
    • The index of the column. Starts at 0.

§Optional Props

  • format_string: String
    • The format string to use for formatting the date. Provided by the #[table(format(string="..."))] attribute of the field. See chrono::format::strftime for more information.