dressed
Version:
A sleek, serverless-ready Discord bot framework.
10 lines (9 loc) • 319 B
TypeScript
import { type APITextInputComponent, TextInputStyle } from "discord-api-types/v10";
/**
* Creates a text input component
*
* Text input object (modals)
*/
export declare function TextInput(config: Omit<APITextInputComponent, "type" | "style"> & {
style?: keyof typeof TextInputStyle;
}): APITextInputComponent;