Skip to content

Commit

Permalink
update typing
Browse files Browse the repository at this point in the history
  • Loading branch information
suhasdeshpande committed Jul 24, 2023
1 parent 5545638 commit ebf997d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-hooks/src/inbox/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface IInbox<T = IInboxMessagePreview> {
lastMarkedAllRead?: number;
lastMessagesFetched?: number;
messages?: Array<T>;
onEvent: OnEvent;
onEvent?: OnEvent;
pinned?: Array<T>;
startCursor?: string;
unreadMessageCount?: number;
Expand Down
1 change: 1 addition & 0 deletions packages/react-inbox/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export interface InboxTheme {
}

export interface InboxProps {
accountId?: string;
brand?: Brand;
className?: string;
defaultIcon?: false | string;
Expand Down

0 comments on commit ebf997d

Please sign in to comment.