Skip to content

Commit 998066f

Browse files
Apply suggestion from @benjamincanac - correctly type based on theme
Co-authored-by: Benjamin Canac <[email protected]>
1 parent d12f551 commit 998066f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/components/Calendar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
9191
/**
9292
* @defaultValue 'solid'
9393
*/
94-
variant?: 'solid' | 'outline' | 'soft' | 'subtle' | 'ghost'
94+
variant?: Calendar['variants']['variant']
9595
defaultValue?: CalendarDefaultValue<R, M>
9696
modelValue?: CalendarModelValue<R, M>
9797
class?: any

0 commit comments

Comments
 (0)