mirror of
https://github.com/desktop/desktop
synced 2024-10-03 23:03:52 +00:00
Merge pull request #16556 from desktop/alert-errors
This commit is contained in:
commit
c9690411b8
|
@ -14,6 +14,10 @@ interface IErrorsProps {
|
|||
export class Errors extends React.Component<IErrorsProps, {}> {
|
||||
public render() {
|
||||
const className = classNames('errors-component', this.props.className)
|
||||
return <div className={className}>{this.props.children}</div>
|
||||
return (
|
||||
<div className={className} role="alert">
|
||||
{this.props.children}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue