fix type assertions and add mantine type extension

This commit is contained in:
jeffvli
2026-01-18 17:30:33 -08:00
parent 5fd0ffaa4f
commit 5c2c18268b
2 changed files with 10 additions and 7 deletions
+6 -1
View File
@@ -1,8 +1,13 @@
import { PillVariant } from '@mantine/core';
import { ActionIconSize, PillVariant } from '@mantine/core';
type ExtendedActionIconSize = 'compact-md' | 'compact-sm' | 'compact-xs' | ActionIconSize;
type ExtendedPillVariant = 'outline' | PillVariant;
declare module '@mantine/core' {
export interface ActionIconProps {
size?: ExtendedActionIconSize;
}
export interface PillProps {
variant?: ExtendedPillVariant;
}