Skip to content

Commit

Permalink
Merge pull request #245 from maryia-matskevich-deriv/maryia/BOT-2164_2
Browse files Browse the repository at this point in the history
maryia/refactor: add default value, make a prop excludedClickOutsideClass op…
  • Loading branch information
shayan-deriv authored Aug 30, 2024
2 parents 6d91833 + b79a69b commit 226dd56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/AppLayout/Notifications/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Notifications = ({
setIsOpen,
componentConfig,
className,
excludedClickOutsideClass,
excludedClickOutsideClass = '',
loadMoreFunction,
isLoading,
...rest
Expand Down
2 changes: 1 addition & 1 deletion src/components/AppLayout/Notifications/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ export type TNotificationsProps = ComponentProps<"div"> & {
noNotificationsTitle: string;
noNotificationsMessage: string;
};
excludedClickOutsideClass: string;
excludedClickOutsideClass?: string;
};

0 comments on commit 226dd56

Please sign in to comment.