'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var clsx = require('clsx');
var jsxRuntime = require('react/jsx-runtime');

const Progress = ({
  className,
  id,
  progress
}) => {
  return /*#__PURE__*/jsxRuntime.jsxs("progress", {
    id: id,
    className: clsx.clsx('np-progress d-block', className),
    ...progress,
    children: [Math.floor(progress.value / progress.max * 100), "%"]
  });
};

exports.default = Progress;
//# sourceMappingURL=Progress.js.map
