Update snippets/Alert.md
Co-Authored-By: Angelos Chalaris <chalarangelo@gmail.com>
This commit is contained in:
committed by
GitHub
parent
284c5b936e
commit
94f82f6666
@ -86,7 +86,7 @@ function Notification(props) {
|
||||
}
|
||||
|
||||
return isShown && (
|
||||
<div className={`alert ${props.type}${isLeaving ? ' leaving' : ''}`}>
|
||||
<div className={`alert ${props.type}${isLeaving ? ' leaving' : ''}`} role="alert">
|
||||
<button className="close" onClick={closeNotification} />
|
||||
{props.message}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user