huruhuru - v0.0.1
    Preparing search index...

    Function createSimpleContainer

    • Create a simple container with a single text block and optional accent color.

      This is a small helper to build a minimal components v2 container.

      Parameters

      • content: string

        Text content to display.

      • OptionalaccentColor: RGBTuple

        Optional RGB accent color. If omitted a random color is used.

      Returns ContainerBuilder

      A ContainerBuilder with the provided content.

      const container = createSimpleContainer("Hello world", [255, 0, 128]);