Rename BadgeButton to PillButton

This commit is contained in:
Gregory Schier
2025-11-09 08:18:26 -08:00
parent d7a7a64ec4
commit 75dc82570b
5 changed files with 19 additions and 18 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ import { useAtomValue } from 'jotai';
import type { ReactNode } from 'react';
import { openSettings } from '../commands/openSettings';
import { CargoFeature } from './CargoFeature';
import { BadgeButton } from './core/BadgeButton';
import { PillButton } from './core/PillButton';
import type { ButtonProps } from './core/Button';
const details: Record<
@@ -52,11 +52,11 @@ function LicenseBadgeCmp() {
}
return (
<BadgeButton
<PillButton
color={detail.color}
onClick={() => openSettings.mutate('license')}
>
{detail.label}
</BadgeButton>
</PillButton>
);
}