diff --git a/front/src/components/ui/Card.vue b/front/src/components/ui/Card.vue index b093ae89f..e83cb0e91 100644 --- a/front/src/components/ui/Card.vue +++ b/front/src/components/ui/Card.vue @@ -12,11 +12,12 @@ import Spacer from './layout/Spacer.vue'; const props = defineProps<{ title: string category?: true | "h1" | "h2" | "h3" | "h4" | "h5" - small?: true tags?: string[] image?: string | { src: string, style?: "withPadding" } icon?: string +} & { + [Size in 'small' | 'auto']?: true } & Partial & (PastelProps | ColorProps | DefaultProps) & RaisedProps & VariantProps>() const image = typeof props.image === 'string' ? { src: props.image } : props.image @@ -90,7 +91,7 @@ const isExternalLink = computed(() => {