Skip to content

Commit

Permalink
Merge pull request #5365 from iskkiri/fix/calendar-container-props-type
Browse files Browse the repository at this point in the history
fix: correct type inheritance in CalendarContainer props
  • Loading branch information
martijnrusschen authored Jan 31, 2025
2 parents 3d06fbf + 1e5571d commit f89ae4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/calendar_container.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import React, { type HTMLAttributes } from "react";

export interface CalendarContainerProps
extends React.PropsWithChildren<HTMLDivElement> {
extends React.PropsWithChildren<HTMLAttributes<HTMLDivElement>> {
showTimeSelectOnly?: boolean;
showTime?: boolean;
}
Expand Down

0 comments on commit f89ae4b

Please sign in to comment.