Skip to content

Commit

Permalink
Update api.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cdedreuille committed Mar 13, 2024
1 parent 94017eb commit 58993f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/lib/types/src/modules/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ interface OnClearOptions {
/**
* @deprecated Use ReactNode for the icon instead.
*/
interface OldIconType {
interface DeprecatedIconType {
name: string;
color?: string;
}
Expand All @@ -134,7 +134,7 @@ export interface API_Notification {
headline: string;
subHeadline?: string | any;
};
icon?: OldIconType | React.ReactNode;
icon?: React.ReactNode | DeprecatedIconType;
onClear?: (options: OnClearOptions) => void;
}

Expand Down

0 comments on commit 58993f6

Please sign in to comment.