mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-23 19:08:25 +00:00
- UI shows error screen if contract doesn't exist or fails fetching data - Menu shows selected state and icons can be specified - Component created for card alerts
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>
|
|
:
|
|
'';
|
|
}
|
|
}
|
|
|
|
|
|
|