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.
Type Parameters
Section titled “Type Parameters”Msg
C extends Children<Msg, any>
Parameters
Section titled “Parameters”H<Msg>
__namedParameters
Section titled “__namedParameters”FragmentOptions<Msg, C>
Returns
Section titled “Returns”ContainerBuilder<Msg, Requirements<C>, Record<string, unknown>, BotNode, "fragment">