Richard Ramos 502d2c0dec
Handling errors and UI reorganization / features
- 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
2018-10-23 10:21:38 +02:00

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>
:
'';
}
}