UNPKG

@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! ⚡

29 lines (28 loc) • 1.09 kB
"use client"; import { jsx } from "react/jsx-runtime"; import { Progress } from "@base-ui/react/progress"; import { useRender } from "@base-ui/react/use-render"; import { cn } from "../../lib/utilities.js"; import progress_module from "./progress.module.js"; import * as __rspack_external_react from "react"; const progress_Progress = /*#__PURE__*/ __rspack_external_react.forwardRef((props, forwardedRef)=>{ const { className, render, value = 0, ...otherProps } = props; return /*#__PURE__*/ jsx(Progress.Root, { value: value, ...otherProps, ref: forwardedRef, render: useRender({ defaultTagName: "div", render: render }), children: /*#__PURE__*/ jsx(Progress.Track, { className: cn(progress_module.track, className), children: /*#__PURE__*/ jsx(Progress.Indicator, { className: progress_module.indicator }) }) }); }); progress_Progress.displayName = "Progress"; export { progress_Progress as Progress }; //# sourceMappingURL=progress.js.map