mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
Merge branch 'select-dropdown' of https://github.com/discordeno/discordeno into select-dropdown
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
import { SelectOption } from "./select_option.ts";
|
||||
|
||||
export interface SelectMenuComponent {
|
||||
type: 3;
|
||||
/** A custom identifier for this component. Maximum 100 characters. */
|
||||
customId: string;
|
||||
/** A custom placeholder text if nothing is selected. Maximum 100 characters. */
|
||||
placeholder?: string;
|
||||
/** The minimum number of items that must be selected. Default 1. Between 1-25. */
|
||||
minValues?: number;
|
||||
/** The maximum number of items that can be selected. Default 1. Between 1-25. */
|
||||
maxValues?: number;
|
||||
/** The choices! Maximum of 25 items. */
|
||||
options: SelectOption[];
|
||||
}
|
||||
type: 3;
|
||||
/** A custom identifier for this component. Maximum 100 characters. */
|
||||
customId: string;
|
||||
/** A custom placeholder text if nothing is selected. Maximum 100 characters. */
|
||||
placeholder?: string;
|
||||
/** The minimum number of items that must be selected. Default 1. Between 1-25. */
|
||||
minValues?: number;
|
||||
/** The maximum number of items that can be selected. Default 1. Between 1-25. */
|
||||
maxValues?: number;
|
||||
/** The choices! Maximum of 25 items. */
|
||||
options: SelectOption[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user