This commit is contained in:
Levente Balogh
2023-01-18 14:58:00 +01:00
parent 3a25ac4b13
commit 7f080c7f77

View File

@@ -59,7 +59,7 @@ export const Alert = React.forwardRef<HTMLDivElement, Props>(
error: 'alert',
warning: 'alert',
info: 'status',
success: 'status',
success: 'status', // TMP
};
const role = restProps['role'] || rolesBySeverity[severity];
const ariaLabel = restProps['aria-label'] || title;