fox-slack-block-builder
Version:
Maintainable code for interactive Slack messages, modals, home tabs, and workflow steps. A must-have for the Slack Block Kit framework.
19 lines (18 loc) • 820 B
TypeScript
import { ElementBuilderBase } from '../internal/base';
import { ActionId, DispatchActionOnCharacterEntered, DispatchActionOnEnterPressed, End, FocusOnLoad, InitialValue, MaxLength, MinLength, Multiline, Placeholder } from '../internal/methods';
export interface TextInputParams {
actionId?: string;
initialValue?: string;
multiline?: boolean;
maxLength?: number;
minLength?: number;
placeholder?: string;
}
export interface TextInputBuilder extends ActionId, DispatchActionOnCharacterEntered, DispatchActionOnEnterPressed, End, FocusOnLoad, InitialValue<string>, MaxLength, MinLength, Multiline, Placeholder {
}
/**
* @@link https://api.slack.com/reference/block-kit/block-elements#input
* @@displayName Plain-Text Input
*/
export declare class TextInputBuilder extends ElementBuilderBase {
}