/** @jsxImportSource @emotion/react */ import { css } from '@emotion/react'; export interface RcChartRingProps { pct: number; prefix?: string; message?: string; sufix?: string; animated?: boolean; color?: string; thickness?: string; fontSizePrefix?: string; fontSizeMessage?: string; fontSizeSufix?: string; maxWidthPct?: number; height?: string; } export const RcChartRing: React.FC = ({ pct, prefix, message, sufix, animated = true, color = '#4cc790', thickness = '1.8px', fontSizePrefix = '4px', fontSizeMessage = '10px', fontSizeSufix = '4px', maxWidthPct = 100, height = '250px', }) => { return (
{prefix && ( {prefix} )} {message && ( {message} )} {sufix && ( {sufix} )}
); };