improve(funnel): revert the revert of the ui (api still reverted)

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-11-23 23:55:11 +01:00
parent b0c8e25b0a
commit 222b54b907
8 changed files with 165 additions and 89 deletions

View File

@@ -29,7 +29,7 @@ interface PreviousDiffIndicatorProps {
children?: React.ReactNode;
inverted?: boolean;
className?: string;
size?: 'sm' | 'lg';
size?: 'sm' | 'lg' | 'md';
}
export function PreviousDiffIndicator({
@@ -80,6 +80,7 @@ export function PreviousDiffIndicator({
'flex size-4 items-center justify-center rounded-full',
variant,
size === 'lg' && 'size-8',
size === 'md' && 'size-6',
)}
>
{renderIcon()}