File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const DialogComponent = ({
19
19
reducePadding,
20
20
} : {
21
21
open ?: boolean ;
22
- title : string ;
22
+ title ? : string ;
23
23
modal : boolean ;
24
24
showClose : boolean ;
25
25
forceMount ?: boolean ;
@@ -94,6 +94,7 @@ export const ModalDialog = {
94
94
95
95
export const ChatDialog = {
96
96
args : {
97
+ title : "" ,
97
98
showClose : false ,
98
99
open : true ,
99
100
onOpenChange : ( ) => {
@@ -103,6 +104,7 @@ export const ChatDialog = {
103
104
} ,
104
105
render : ( {
105
106
open,
107
+ title,
106
108
modal,
107
109
showClose,
108
110
forceMount,
@@ -124,6 +126,7 @@ export const ChatDialog = {
124
126
< Link > Open dialog</ Link >
125
127
</ Dialog . Trigger >
126
128
< Dialog . Content
129
+ title = { title }
127
130
showClose = { showClose }
128
131
forceMount = { forceMount ? true : undefined }
129
132
reducePadding = { reducePadding }
You can’t perform that action at this time.
0 commit comments