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

// ../src/components/teaser-dot/teaser-dot.tsx
import { jsx } from "preact/jsx-runtime";
var TeaserDot = ({ flashing, forcePx, classNames, attributes = {} }) => {
  const classes = formatClassString([
    "ds-teaser-dot",
    flashing && "ds-teaser-dot--flashing",
    forcePx && "ds-force-px",
    classNames
  ]);
  return /* @__PURE__ */ jsx("span", { className: classes, ...attributes });
};
export {
  TeaserDot
};
//# sourceMappingURL=teaser-dot.js.map
