diff --git a/src/components/Button.tsx b/src/components/Button.tsx index ac3a4984a..dbcbff3c5 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -1,4 +1,4 @@ -import React from "react"; +import React, { type ButtonHTMLAttributes } from "react"; /** * Render the button elements in the calendar. @@ -6,7 +6,7 @@ import React from "react"; * @private * @deprecated Use `PreviousMonthButton` or `@link NextMonthButton` instead. */ -export function Button(props: JSX.IntrinsicElements["button"]) { +export function Button(props: ButtonHTMLAttributes) { return