Prop | Default | Type |
---|---|---|
as | 'div' | AsTag | Component The element or component this component should render as. Can be overwritten by |
asChild | boolean Change the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details. | |
day* | DateValue | |
month* | DateValue |
Slots (default) | Payload |
---|---|
dayValue | string Current day |
disabled | boolean Current disable state |
selected | boolean Current selected state |
today | boolean Current today state |
outsideView | boolean Current outside view state |
outsideVisibleView | boolean Current outside visible view state |
unavailable | boolean Current unavailable state |
highlighted | boolean Current highlighted state |
highlightedStart | boolean Current highlighted start state |
highlightedEnd | boolean Current highlighted end state |
selectionStart | boolean Current selection start state |
selectionEnd | boolean Current selection end state |