Add missing message property on ToastProps type (#4569)

Co-authored-by: Jacob Minor <jacob.minor@3squared.com>
pull/4524/head
Jake 2023-10-08 20:37:16 +01:00 committed by GitHub
parent de3c2593e9
commit 01e3fe7ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -238,6 +238,11 @@ export interface ToastProps {
* @deprecated since v3.26.0. Use 'pt' property. * @deprecated since v3.26.0. Use 'pt' property.
*/ */
closeButtonProps?: ButtonHTMLAttributes | undefined; closeButtonProps?: ButtonHTMLAttributes | undefined;
/**
* Used to access message options.
* @type {ToastMessageOptions}
*/
message?: ToastMessageOptions;
/** /**
* Used to pass attributes to DOM elements inside the component. * Used to pass attributes to DOM elements inside the component.
* @type {ToastPassThroughOptions} * @type {ToastPassThroughOptions}