Skip to content

Commit c7d18a5

Browse files
committed
(types) add templateText and AutoScroll
1 parent 70aed9b commit c7d18a5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

types/index.d.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,20 @@ export interface TextFormatting {
9696
multilineCode?: string
9797
inlineCode?: string
9898
}
99+
export type TemplateText = { tag: string; text: string }
100+
101+
export type TemplatesText = TemplateText[]
102+
103+
export interface AutoScroll {
104+
send: {
105+
new: boolean
106+
newAfterScrollUp: boolean
107+
}
108+
receive: {
109+
new: boolean
110+
newAfterScrollUp: boolean
111+
}
112+
}
99113

100114
export interface Slots {
101115
'rooms-header': VNode[]
@@ -152,6 +166,8 @@ export interface Props {
152166
'room-actions'?: CustomActions
153167
'menu-actions'?: CustomActions
154168
'message-actions'?: CustomActions
169+
'templates-text'?: TemplatesText
170+
'auto-scroll'?: AutoScroll
155171
'show-search'?: boolean
156172
'show-add-room'?: boolean
157173
'show-send-icon'?: boolean

0 commit comments

Comments
 (0)