import { jsx } from "react/jsx-runtime";
import classNames from "classnames";
import { getSpacingClasses } from "../utils/utils.mjs";
import '../../styles/components/text.css';/* empty css           */
const UnorderedList = ({
  className,
  spacing,
  as,
  children,
  ...rest
}) => {
  const ListElement = as || "ul";
  return /* @__PURE__ */ jsx(
    ListElement,
    {
      className: classNames(
        "eds-text--unordered-list",
        getSpacingClasses(spacing, "eds-text--unordered-list"),
        className
      ),
      ...rest,
      children
    }
  );
};
export {
  UnorderedList
};
//# sourceMappingURL=UnorderedList.mjs.map
