import { BackgroundCircle, CircularProgressBarContainer, ProgressCircle, Title, } from './CircularProgressBar.component.style'; type Props = { percent: number; radius: number; strokeWidth?: number; title?: string; color?: string; backgroundColor?: string; children?: JSX.Element; }; /** * * * @example * * text content */ function CircularProgressBar({ percent, radius, strokeWidth = 10, title, color, backgroundColor, children, ...rest }: Props) { const centerPointCoordinate = strokeWidth / 2 + radius; const svgSize = centerPointCoordinate * 2; const CIRCUMFERENCE = Math.PI * (radius * 2); return ( {title && {title}} {children} ); } export { CircularProgressBar };