UNPKG

@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.

24 lines (20 loc) 710 B
"use client"; import { jsx } from 'react/jsx-runtime'; import { forwardRef, Children } from 'react'; import { classNames } from '../utils/class-names.js'; const HistoryVersionSummaryList = forwardRef(({ children, className, ...props }, forwardedRef) => { return /* @__PURE__ */ jsx("ol", { className: classNames( "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