mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 22:15:45 +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;
|
const { title, message, buttons } = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="react-confirm-alert-overlay">
|
<div className="modal is-active">
|
||||||
<div className="react-confirm-alert">
|
<div className="modal-card">
|
||||||
{
|
|
||||||
<div className="react-confirm-alert-body">
|
<header className="modal-card-head">
|
||||||
{title && <h1>{title}</h1>}
|
<p className="modal-card-title">
|
||||||
|
{title}
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
<section className="modal-card-body">
|
||||||
{message}
|
{message}
|
||||||
<div className="react-confirm-alert-button-group">
|
<div className="react-confirm-alert-button-group">
|
||||||
{buttons.map((button, i) => (
|
{buttons.map((button, i) => (
|
||||||
@@ -49,8 +53,8 @@ class ConfirmAlert extends React.Component<Props> {
|
|||||||
</button>
|
</button>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</section>
|
||||||
}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user