Skip to content

Commit 7233ce9

Browse files
committed
feat(types): add min_lines and max_lines to RichTextInput
1 parent 99a83cf commit 7233ce9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

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 50.
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 50.
1075+
* Defaults to `8` when not specified.
1076+
*/
1077+
max_lines?: number;
10691078
}

0 commit comments

Comments
 (0)