import React from "react"; import StyledProgress, { Bar } from "./StyledProgress"; import ProgressBunnyWrapper from "./ProgressBunnyWrapper"; import { ProgressBunny } from "../Svg"; import { ProgressProps, variants } from "./types"; const stepGuard = (step: number) => { if (step < 0) { return 0; } if (step > 100) { return 100; } return step; }; const Progress: React.FC = ({ variant = variants.ROUND, primaryStep = 0, secondaryStep = null, showProgressBunny = false, }) => { return ( {showProgressBunny && ( )} {secondaryStep ? : null} ); }; export default Progress;