An action row is a top-level container for message components.
You don't need to use this; Reacord automatically creates action rows for you. But this can be useful if you want a specific layout.
// put buttons on two separate rows<ActionRow> <Button label="First" onClick={handleFirst} /></ActionRow><Button label="Second" onClick={handleSecond} /> Copy
// put buttons on two separate rows<ActionRow> <Button label="First" onClick={handleFirst} /></ActionRow><Button label="Second" onClick={handleSecond} />
https://discord.com/developers/docs/interactions/message-components#action-rows
Generated using TypeDoc
An action row is a top-level container for message components.
You don't need to use this; Reacord automatically creates action rows for you. But this can be useful if you want a specific layout.