mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-31 04:07:56 +01:00
fix(Calendar): omit as / asChild props
This commit is contained in:
@@ -18,7 +18,7 @@ type CalendarModelValue<R extends boolean = false, M extends boolean = false> =
|
|||||||
? DateValue[]
|
? DateValue[]
|
||||||
: 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.
|
* The element or component this component should render as.
|
||||||
* @defaultValue 'div'
|
* @defaultValue 'div'
|
||||||
|
|||||||
Reference in New Issue
Block a user