Skip to content

Commit

Permalink
Fix #7023: Toast typescript def for content (#7024)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Aug 11, 2024
1 parent 9bc0a62 commit e1a2755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/toast/toast.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export interface ToastMessage {
/**
* Custom content of the message. If enabled, summary and details properties are ignored.
*/
content?: React.ReactNode | undefined;
content?: React.ReactNode | ((props: ContentProps) => React.ReactNode);
/**
* Whether the message can be closed manually using the close icon.
* @defaultValue true
Expand Down

0 comments on commit e1a2755

Please sign in to comment.