Function ActionRow

  • 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} />

    Parameters

    Returns Element

Generated using TypeDoc