import PropTypes from "prop-types";
import { Fragment } from "react";
import classNames from "classnames";
import { Check } from "mastodon/components/check";
const ProgressIndicator = ({ steps, completed }) => (
{(new Array(steps)).fill().map((_, i) => (
{i > 0 && i })} />}
i })}>
{completed > i && }
))}
);
ProgressIndicator.propTypes = {
steps: PropTypes.number.isRequired,
completed: PropTypes.number,
};
export default ProgressIndicator;