feat(types): add min_lines/max_lines to RichTextInput (#2680) · slackapi/node-slack-sdk@f5e9a01 · GitHub
Skip to content

Commit f5e9a01

Browse files
srtaalejzimeg
andauthored
feat(types): add min_lines/max_lines to RichTextInput (#2680)
Co-authored-by: Eden Zimbelman <eden.zimbelman@salesforce.com>
1 parent 99a83cf commit f5e9a01

3 files changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions

packages/types/src/block-kit/block-elements.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,4 +1066,13 @@ export interface RichTextInput extends Actionable, Dispatchable, Focusable, Plac
10661066
* @description Initial contents of the input when it is loaded.
10671067
*/
10681068
initial_value?: RichTextBlock;
1069+
/**
1070+
* @description The minimum number of lines of text shown in the input. Must be between 1 and 100.
1071+
*/
1072+
min_lines?: number;
1073+
/**
1074+
* @description The maximum number of lines of text shown in the input before it scrolls. Must be between 1 and 100.
1075+
* Defaults to `8` when not specified.
1076+
*/
1077+
max_lines?: number;
10691078
}
Lines changed: 30 additions & 0 deletions

0 commit comments

Comments
 (0)