mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 17:00:08 +00:00
Merge branch 'buttons-dropdowns' of https://github.com/discordeno/discordeno into buttons-dropdowns
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import { SnakeCasedPropertiesDeep } from "../../util.ts";
|
||||
import { ButtonComponent } from "./button_component.ts";
|
||||
|
||||
// TODO: add docs link
|
||||
export interface ActionRow {
|
||||
/** Action rows are a group of buttons. */
|
||||
type: 1;
|
||||
/** The button components */
|
||||
components: ButtonComponent[];
|
||||
}
|
||||
|
||||
export type DiscordActionRow = SnakeCasedPropertiesDeep<ActionRow>;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { SnakeCasedPropertiesDeep } from "../../util.ts";
|
||||
import { ButtonStyles } from "./button_styles.ts";
|
||||
|
||||
// TODO: add docs link
|
||||
export interface ButtonComponent {
|
||||
/** All button components have type 2 */
|
||||
type: 2;
|
||||
|
||||
Reference in New Issue
Block a user