import React from 'react'; import classNames from 'classnames'; import './ProgressBar.scss'; type ProgressBarProps = { value: number; colorClass?: string; color?: string; }; const ProgressBar: React.FC = (props: ProgressBarProps) => { const { value } = props; return (
{value}%
); }; const ProgressLine: React.FC = (props: ProgressBarProps) => { const { value, color, colorClass = '' } = props; return (
); }; const ProgressBarWithValue: React.FC = (props: ProgressBarProps) => { const { value, color, colorClass = '' } = props; return (
{value}%
); }; export { ProgressBar, ProgressLine, ProgressBarWithValue };