mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-16 21:50:35 +02:00
fix type assertions and add mantine type extension
This commit is contained in:
Vendored
+6
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user