mirror of https://github.com/embarklabs/embark.git
14 lines
253 B
JavaScript
14 lines
253 B
JavaScript
|
class CardAlert extends React.Component {
|
||
|
render(){
|
||
|
return this.props.show ?
|
||
|
<div className="card-alert alert alert-danger mb-0">
|
||
|
{this.props.message}
|
||
|
</div>
|
||
|
:
|
||
|
'';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|