Skip to content

WrapClockProps

Attributes:

attr Clock

Clock: ClockProps

Type: ClockProps

A native component within hitokage that displays date and time information.

See ComponentProps

Example

monitor = hitokage.monitor.get_primary()

---@type ClockProps
clock_props = { format = "%a %b %u %r" }

monitor:attach({
  children = {
    Clock = clock_props,
  },
})

The mounted API is documented here: Clock