"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = DividerConfig;

var _react = _interopRequireDefault(require("react"));

var _DividerConfigSetting = _interopRequireDefault(require("./DividerConfigSetting"));

var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function DividerConfig(props) {
  var data = props.data;
  return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
    divider: "bold",
    headerSize: "large",
    source: [{
      key: 'DividerSetting',
      name: 'Setting',
      value: /*#__PURE__*/_react["default"].createElement(_DividerConfigSetting["default"], {
        setting: data.style
      })
    }],
    type: "triangle"
  }));
}