blob: 850c6bc9ad1844469ae0096c2349424a7f26343e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { Grid, type GridProps } from '@umami/react-zen';
import type { ReactNode } from 'react';
export interface MetricsBarProps extends GridProps {
children?: ReactNode;
}
export function MetricsBar({ children, ...props }: MetricsBarProps) {
return (
<Grid columns="repeat(auto-fit, minmax(160px, 1fr))" gap {...props}>
{children}
</Grid>
);
}
|