import { H5Box, H5Txt } from './H5Box'
/** 对齐 Next ProgressRing:圆环进度(多端同 SVG) */
export function ProgressRing({
progress,
size = 52,
ringId = 'ring',
}: {
progress: number
size?: number
ringId?: string
}) {
const stroke = 4
const radius = (size - stroke) / 2
const circumference = 2 * Math.PI * radius
const pct = Math.max(0, Math.min(100, progress))
const offset = circumference - (pct / 100) * circumference
const c = size / 2
const gid = `rg-${ringId}`
const html = ``
return (
)
}