@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.
26 lines (21 loc) • 786 B
JavaScript
"use client";
;
var jsxRuntime = require('react/jsx-runtime');
var react = require('react');
var classNames = require('../utils/class-names.cjs');
const HistoryVersionSummaryList = react.forwardRef(({ children, className, ...props }, forwardedRef) => {
return /* @__PURE__ */ jsxRuntime.jsx("ol", {
className: classNames.classNames(
"lb-root lb-history-version-summary-list",
className
),
...props,
ref: forwardedRef,
children: react.Children.map(children, (child, index) => /* @__PURE__ */ jsxRuntime.jsx("li", {
className: "lb-history-version-summary-list-item",
children: child
}, index))
});
});
exports.HistoryVersionSummaryList = HistoryVersionSummaryList;
//# sourceMappingURL=HistoryVersionSummaryList.cjs.map