import React, { Component } from 'react';
import { Col, Row, Icon } from 'antd';

class PushSetting extends Component { // eslint-disable-line react/prefer-stateless-function
  state = {
    status: this.props.status,
    member_id: this.props.member_id,
  };

  constructor(props, context) {
    super(props, context);
  }

  render() {
    return (
      <div>
        <div className="help-item-blank"></div>
        <div className="help-list">
          <div className="help-item">
            <div className="ant-row-flex ant-row-flex-space-between ant-row-flex-middle">
              <div className="ant-col-21">
                <div className="ik-font-size-18">日报推送</div>
                <div>每天上午8点推送昨天的业务数据</div>
              </div>
              <div className="ant-col-3">
                <Switch onChange={this.handleChange}, defaultChecked={this.state.status} />
              </div>
            </div>
          </div>
        </div>
      </div>
    );
  }
}

export default GuideLeader;
