"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.expanderContextTypes = exports.expanderPropTypes = void 0;

var _propTypes = _interopRequireDefault(require("prop-types"));

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

var expanderPropTypes = {
  headingComponent: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].element]).isRequired,
  headingComponentOpen: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].element]),
  children: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].element]).isRequired,
  buttonStyles: _propTypes["default"].shape({}),
  onToggle: _propTypes["default"].func
};
exports.expanderPropTypes = expanderPropTypes;
var expanderContextTypes = {
  toggleExpander: _propTypes["default"].func
};
exports.expanderContextTypes = expanderContextTypes;