Skip to content

Commit

Permalink
chore: update calendar types
Browse files Browse the repository at this point in the history
  • Loading branch information
ubermanu committed Jul 7, 2023
1 parent c0c5c17 commit 195b857
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/Calendar/calendar.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type CalendarConfig = {
export type CalendarDay = {
date: Date
isOutOfMonth: boolean
dayAttrs: Record<string, any>
dayAttrs: HTMLAttributes
}

export type Calendar = {
Expand All @@ -28,8 +28,8 @@ export type Calendar = {
weekdays: Readable<string[]>
days: Readable<CalendarDay[]>
calendarAttrs: Readable<HTMLAttributes>
prevButtonAttrs: Readable<Record<string, any>>
nextButtonAttrs: Readable<Record<string, any>>
prevButtonAttrs: Readable<HTMLAttributes>
nextButtonAttrs: Readable<HTMLAttributes>
goToPrevMonth: () => void
goToNextMonth: () => void
goToPrevYear: () => void
Expand Down

0 comments on commit 195b857

Please sign in to comment.