2018-08-30 14:25:33 +00:00
|
|
|
import React from 'react';
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
|
|
|
|
import Card from '../ui/Card';
|
|
|
|
|
|
|
|
const Status = props => (
|
|
|
|
<div className="status">
|
|
|
|
<Card bodyType="card-body card-body--status">
|
|
|
|
<div className="h4 font-weight-light mb-4">
|
2018-10-14 14:49:07 +00:00
|
|
|
You are currently not using AdGuard Home
|
2018-08-30 14:25:33 +00:00
|
|
|
</div>
|
|
|
|
<button className="btn btn-success" onClick={props.handleStatusChange}>
|
2018-10-14 14:49:07 +00:00
|
|
|
Enable AdGuard Home
|
2018-08-30 14:25:33 +00:00
|
|
|
</button>
|
|
|
|
</Card>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
|
|
|
|
Status.propTypes = {
|
|
|
|
handleStatusChange: PropTypes.func.isRequired,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Status;
|