This commit is contained in:
MuslemRahimi 2024-07-06 10:18:01 +02:00
parent f99125d28a
commit 1b56a9a8ea

View File

@ -286,7 +286,7 @@ $: {
<circle cx="18" cy="18" r="16" fill="none" class="stroke-current text-[#3E3E3E]" stroke-width="3"></circle> <circle cx="18" cy="18" r="16" fill="none" class="stroke-current text-[#3E3E3E]" stroke-width="3"></circle>
<!-- Progress Circle inside a group with rotation --> <!-- Progress Circle inside a group with rotation -->
<g class="origin-center -rotate-90 transform"> <g class="origin-center -rotate-90 transform">
<circle cx="18" cy="18" r="16" fill="none" class="stroke-current text-[#00FC50]" stroke-width="3" stroke-dasharray="100" stroke-dashoffset={callPercentage >=1 ? 0 : 100-(callPercentage)?.toFixed(2)}></circle> <circle cx="18" cy="18" r="16" fill="none" class="stroke-current text-[#00FC50]" stroke-width="3" stroke-dasharray="100" stroke-dashoffset={(100-callPercentage)?.toFixed(2)}></circle>
</g> </g>
</svg> </svg>
<!-- Percentage Text --> <!-- Percentage Text -->