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