@arolariu/components
Version:
🎨 70+ beautiful, accessible React components built on Base UI. TypeScript-first, CSS Modules styling, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡
34 lines (33 loc) • 1.46 kB
JavaScript
import { jsx } from "react/jsx-runtime";
import { cn } from "../../lib/utilities.js";
import timeline_module from "./timeline.module.js";
import * as __rspack_external_react from "react";
const Timeline = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("div", {
ref: ref,
role: "list",
className: cn(timeline_module.timeline, className),
...props
}));
Timeline.displayName = "Timeline";
const TimelineItem = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("div", {
ref: ref,
role: "listitem",
className: cn(timeline_module.item, className),
...props
}));
TimelineItem.displayName = "TimelineItem";
const TimelineDot = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("div", {
ref: ref,
"aria-hidden": "true",
className: cn(timeline_module.dot, className),
...props
}));
TimelineDot.displayName = "TimelineDot";
const TimelineContent = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("div", {
ref: ref,
className: cn(timeline_module.content, className),
...props
}));
TimelineContent.displayName = "TimelineContent";
export { Timeline, TimelineContent, TimelineDot, TimelineItem };
//# sourceMappingURL=timeline.js.map