Skip to content

WrapBoxProps

Attributes:

attr Box

Box: BoxProps

Type: BoxProps

A native component within hitokage that can hold other components.

See ComponentProps

Example

monitor = hitokage.monitor.get_primary()

---@type BoxProps
box_props = { id = "box1", children = { ... } }

monitor:attach({
  children = {
    Box = box_props,
  },
})

The mounted API is documented here: Box