mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
docs(calendar): add external controls example (#3793)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -223,6 +223,16 @@ name: 'calendar-other-system-example'
|
||||
You can check all the available calendars on `@internationalized/date` docs.
|
||||
::
|
||||
|
||||
### With external controls
|
||||
|
||||
You can control the calendar with external controls by manipulating the date passed in the `v-model`.
|
||||
|
||||
::component-example
|
||||
---
|
||||
name: 'calendar-external-controls-example'
|
||||
---
|
||||
::
|
||||
|
||||
### As a DatePicker
|
||||
|
||||
Use a [Button](/components/button) and a [Popover](/components/popover) component to create a date picker.
|
||||
|
||||
Reference in New Issue
Block a user