import * as React from 'react'; import classNames from 'classnames'; import Progress from './Progress'; export interface IndicatorProps { prefixCls: string; percent?: number; } export default function Looper(props: IndicatorProps) { const { prefixCls, percent = 0 } = props; const dotClassName = `${prefixCls}-dot`; const holderClassName = `${dotClassName}-holder`; const hideClassName = `${holderClassName}-hidden`; // ===================== Render ===================== return ( <> 0 && hideClassName)}> {[1, 2, 3, 4].map((i) => ( ))} ); }