@liveblocks/react-ui
Version:
A set of React pre-built components for the Liveblocks products. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.
21 lines (17 loc) • 673 B
JavaScript
"use client";
import { jsx } from 'react/jsx-runtime';
import { forwardRef, Children } from 'react';
import { cn } from '../utils/cn.js';
const HistoryVersionSummaryList = forwardRef(({ children, className, ...props }, forwardedRef) => {
return /* @__PURE__ */ jsx(
"ol",
{
className: cn("lb-root lb-history-version-summary-list", className),
...props,
ref: forwardedRef,
children: Children.map(children, (child, index) => /* @__PURE__ */ jsx("li", { className: "lb-history-version-summary-list-item", children: child }, index))
}
);
});
export { HistoryVersionSummaryList };
//# sourceMappingURL=HistoryVersionSummaryList.js.map