Skip to content

Commit 1980656

Browse files
authored
fix: add onCloseClick to MessageSearchProps (#219)
1 parent 3079900 commit 1980656

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

scripts/index_d_ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,9 @@
744744
): JSX.Element;
745745
}
746746

747-
export interface MessageSearchProps extends MessageSearchUIProps, MessageSearchProviderProps {}
747+
export interface MessageSearchProps extends MessageSearchUIProps, MessageSearchProviderProps {
748+
onCloseClick?: () => void;
749+
}
748750

749751
/**
750752
* CreateChannel

src/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,9 @@ interface MessageSearchUIProps {
10361036
): JSX.Element;
10371037
}
10381038

1039-
interface MessageSearchProps extends MessageSearchUIProps, MessageSearchProviderProps {}
1039+
interface MessageSearchProps extends MessageSearchUIProps, MessageSearchProviderProps {
1040+
onCloseClick?: () => void;
1041+
}
10401042

10411043
declare module '@sendbird/uikit-react/MessageSearch' {
10421044
type MessageSearch = React.FC<MessageSearchProps>;

0 commit comments

Comments
 (0)