diff --git a/src/index.tsx b/src/index.tsx index 2fed979..ab59831 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -56,6 +56,7 @@ const Toast = (props: ToastProps) => { loadingIcon: loadingIconProp, expandByDefault, classNames, + closeButtonAriaLabel = 'Close toast', } = props; const [mounted, setMounted] = React.useState(false); const [removed, setRemoved] = React.useState(false); @@ -300,7 +301,7 @@ const Toast = (props: ToastProps) => { > {closeButton && !toast.jsx ? (