mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 05:55:44 +01:00
change classes to bulma classes
This commit is contained in:
@@ -32,11 +32,15 @@ class ConfirmAlert extends React.Component<Props> {
|
||||
const { title, message, buttons } = this.props;
|
||||
|
||||
return (
|
||||
<div className="react-confirm-alert-overlay">
|
||||
<div className="react-confirm-alert">
|
||||
{
|
||||
<div className="react-confirm-alert-body">
|
||||
{title && <h1>{title}</h1>}
|
||||
<div className="modal is-active">
|
||||
<div className="modal-card">
|
||||
|
||||
<header className="modal-card-head">
|
||||
<p className="modal-card-title">
|
||||
{title}
|
||||
</p>
|
||||
</header>
|
||||
<section className="modal-card-body">
|
||||
{message}
|
||||
<div className="react-confirm-alert-button-group">
|
||||
{buttons.map((button, i) => (
|
||||
@@ -49,8 +53,8 @@ class ConfirmAlert extends React.Component<Props> {
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user