fix(Calendar): omit as / asChild props

This commit is contained in:
Benjamin Canac
2024-11-26 13:12:11 +01:00
parent 2e9aeb5f05
commit 9478fc0768

View File

@@ -18,7 +18,7 @@ type CalendarModelValue<R extends boolean = false, M extends boolean = false> =
? DateValue[]
: DateValue
export interface CalendarProps<R extends boolean, M extends boolean> extends Omit<CalendarRootProps, 'modelValue' | 'defaultValue' | 'dir' | 'locale' | 'calendarLabel' | 'multiple'> {
export interface CalendarProps<R extends boolean, M extends boolean> extends Omit<CalendarRootProps, 'as' | 'asChild' | 'modelValue' | 'defaultValue' | 'dir' | 'locale' | 'calendarLabel' | 'multiple'> {
/**
* The element or component this component should render as.
* @defaultValue 'div'