"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = exports.Accordion = void 0;
var _classnames = _interopRequireDefault(require("classnames"));
var _jsxRuntime = require("preact/compat/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
/**
 * For information about how and when to use this component,
 * [refer to its full documentation page](https://design.cms.gov/components/accordion/).
 */
const Accordion = _ref => {
  let {
    bordered,
    children,
    className
  } = _ref;
  const classes = (0, _classnames.default)('ds-c-accordion', bordered && 'ds-c-accordion--bordered', className);
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
    className: classes,
    children: children
  });
};
exports.Accordion = Accordion;
var _default = exports.default = Accordion;