You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
463 B
15 lines
463 B
<script lang="ts">
|
|
/**
|
|
* Trend part — a thin row that puts the Delta pill and the comparison caption
|
|
* on one shared baseline (the canonical `[↑12%] vs last month` row) instead of
|
|
* stacking them. Compose `<Metrics.Delta>` + `<Metrics.Description>` inside.
|
|
*/
|
|
import type { MetricsTrendProps } from './types';
|
|
|
|
let { children, ...rest }: MetricsTrendProps = $props();
|
|
</script>
|
|
|
|
<div data-metrics-trend="" {...rest}>
|
|
{@render children?.()}
|
|
</div>
|