--- import CaptureScript from '../CaptureScript.astro' interface Props { id: string title: string description: string value: number label: string count: number total: number countLabel?: string color?: 'green' | 'yellow' | 'neutral' } const { id, title, description, value, label, count, total, countLabel = 'of', color = 'neutral' } = Astro.props // Needs the `apexcharts` lib on the page (pageLibs / docs-libs). const chartId = `chart-gauge-${id}` const chartColor = color === 'neutral' ? 'var(--tblr-body-color)' : `var(--tblr-${color})` const format = (n: number) => n.toLocaleString('en-US') ---
{description}