// ../src/helpers/formatClassString.ts
var formatClassString = (classesArray) => {
  return classesArray.filter((x) => !!x).join(" ");
};

// ../src/components/thematic-break/thematic-break.tsx
import { jsx } from "preact/jsx-runtime";
var ThematicBreak = ({ classNames, attributes }) => {
  const classes = formatClassString(["ds-thematic-break", classNames]);
  return /* @__PURE__ */ jsx("div", { className: classes, ...attributes, children: /* @__PURE__ */ jsx("hr", {}) });
};
var thematic_break_default = ThematicBreak;
export {
  ThematicBreak,
  thematic_break_default as default
};
//# sourceMappingURL=thematic-break.js.map
