修复RM组件警告
This commit is contained in:
@@ -17,15 +17,15 @@ const {
|
|||||||
variant = 'subtle',
|
variant = 'subtle',
|
||||||
title,
|
title,
|
||||||
icon = 'lucide:bookmark',
|
icon = 'lucide:bookmark',
|
||||||
|
color = 'primary',
|
||||||
} = defineProps<{
|
} = defineProps<{
|
||||||
color?: string;
|
color?: 'primary' | 'error' | 'secondary' | 'success' | 'info' | 'warning' | 'neutral';
|
||||||
description?: string;
|
description?: string;
|
||||||
title?: string;
|
title?: string;
|
||||||
to?: string;
|
to?: string;
|
||||||
icon?: string;
|
icon?: string;
|
||||||
iconSize?: string;
|
iconSize?: string;
|
||||||
variant?: string;
|
variant?: 'subtle' | 'solid' | 'outline' | 'soft';
|
||||||
|
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user