"use strict";

var _define = require("../preactement/define");
var _Accordion = require("../../Accordion");
var _jsxRuntime = require("preact/compat/jsx-runtime");
const attributes = ['class-name', 'bordered'];

/* eslint-disable @typescript-eslint/no-namespace */

/* eslint-enable */

const Wrapper = _ref => {
  let {
    bordered,
    ...otherProps
  } = _ref;
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Accordion.Accordion, {
    ...otherProps,
    bordered: bordered && Boolean(JSON.parse(bordered))
  });
};
(0, _define.define)('ds-accordion', () => Wrapper, {
  attributes,
  shadow: true
});