@@ -3,7 +3,7 @@ import type { CalendarRootProps, CalendarRootEmits, RangeCalendarRootProps, Rang
3
3
import type { DateValue } from ' @internationalized/date'
4
4
import type { AppConfig } from ' @nuxt/schema'
5
5
import theme from ' #build/ui/calendar'
6
- import type { ButtonProps } from ' ../types'
6
+ import type { ButtonProps , IconProps } from ' ../types'
7
7
import type { ComponentConfig } from ' ../types/tv'
8
8
9
9
type Calendar = ComponentConfig <typeof theme , AppConfig , ' calendar' >
@@ -33,7 +33,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
33
33
* @defaultValue appConfig.ui.icons.chevronDoubleRight
34
34
* @IconifyIcon
35
35
*/
36
- nextYearIcon? : string
36
+ nextYearIcon? : IconProps [ ' name ' ]
37
37
/**
38
38
* Configure the next year button.
39
39
* `{ color: 'neutral', variant: 'ghost' }`{lang="ts-type"}
@@ -44,7 +44,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
44
44
* @defaultValue appConfig.ui.icons.chevronRight
45
45
* @IconifyIcon
46
46
*/
47
- nextMonthIcon? : string
47
+ nextMonthIcon? : IconProps [ ' name ' ]
48
48
/**
49
49
* Configure the next month button.
50
50
* `{ color: 'neutral', variant: 'ghost' }`{lang="ts-type"}
@@ -55,7 +55,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
55
55
* @defaultValue appConfig.ui.icons.chevronDoubleLeft
56
56
* @IconifyIcon
57
57
*/
58
- prevYearIcon? : string
58
+ prevYearIcon? : IconProps [ ' name ' ]
59
59
/**
60
60
* Configure the prev year button.
61
61
* `{ color: 'neutral', variant: 'ghost' }`{lang="ts-type"}
@@ -66,7 +66,7 @@ export interface CalendarProps<R extends boolean = false, M extends boolean = fa
66
66
* @defaultValue appConfig.ui.icons.chevronLeft
67
67
* @IconifyIcon
68
68
*/
69
- prevMonthIcon? : string
69
+ prevMonthIcon? : IconProps [ ' name ' ]
70
70
/**
71
71
* Configure the prev month button.
72
72
* `{ color: 'neutral', variant: 'ghost' }`{lang="ts-type"}
0 commit comments