UNPKG

@postenbring/hedwig-react

Version:

React components for [Hedwig Design System](https://github.com/bring/hedwig-design-system).

33 lines (31 loc) 834 B
import { __objRest, __spreadValues } from "./chunk-YOSPWY5K.mjs"; // src/description-list/description-list.tsx import { forwardRef } from "react"; import { clsx } from "@postenbring/hedwig-css/typed-classname"; import { jsx } from "react/jsx-runtime"; var DescriptionList = forwardRef( (_a, ref) => { var _b = _a, { variant = "vertical", className } = _b, rest = __objRest(_b, ["variant", "className"]); return /* @__PURE__ */ jsx( "dl", __spreadValues({ ref, className: clsx( "hds-description-list", { "hds-description-list--horizontal": variant === "horizontal" }, className ) }, rest) ); } ); DescriptionList.displayName = "DescriptionList"; export { DescriptionList }; //# sourceMappingURL=chunk-C7ZTOZP3.mjs.map