align
Description
Optional. Defines how the calendar dropdown is aligned horizontally relative to the input fieldUsage
align?: "start" | "center" | "end";
Parameters
- "start" - (default) the dropdown calendar is aligned to the bottom left of the input
- "center" - the dropdown calendar is horizontally centered relative to the input field
- "end" - the datepicker calendar is aligned to the right edge of the input field.
Example
<DatePicker align="center" />
Related article: Aligning the calendar
Related sample: DatePicker