Skip to content

Fragment

Fragment<Msg, C>(h, __namedParameters): ContainerBuilder<Msg, Requirements<C>, Record<string, unknown>, BotNode, "fragment">

Defined in: packages/platform-discord/src/components/fragment.ts:14

Groups renderer children without adding a Discord component.

A message root renders one view, so a fragment is how a view returns several top-level components such as a section, a container, and action rows.

Msg

C extends Children<Msg, any>

H<Msg>

FragmentOptions<Msg, C>

ContainerBuilder<Msg, Requirements<C>, Record<string, unknown>, BotNode, "fragment">