Switch to BiomeJS (#306)

This commit is contained in:
Gregory Schier
2025-11-23 08:38:13 -08:00
committed by GitHub
parent 2bac610efe
commit ec3e2e16a9
332 changed files with 3007 additions and 4097 deletions

View File

@@ -12,7 +12,10 @@ export function DismissibleBanner({
id,
actions,
...props
}: BannerProps & { id: string; actions?: { label: string; onClick: () => void; color?: Color }[] }) {
}: BannerProps & {
id: string;
actions?: { label: string; onClick: () => void; color?: Color }[];
}) {
const { set: setDismissed, value: dismissed } = useKeyValue<boolean>({
namespace: 'global',
key: ['dismiss-banner', id],
@@ -28,9 +31,9 @@ export function DismissibleBanner({
>
{children}
<HStack space={1.5}>
{actions?.map((a, i) => (
{actions?.map((a) => (
<Button
key={a.label + i}
key={a.label}
variant="border"
color={a.color ?? props.color}
size="xs"