buttons
Description
Optional. Shows/hides the Today and Clear buttons in the lower part of the drop-down calendarUsage
buttons?: boolean | ("clear" | "today")[];
Parameters
true- adds default buttonsfalse- hides buttons
If an array is specified, each value adds a button:
clear- adds the Clear buttontoday- adds the Today button
Default values
true; ["clear", "today"]
Example
<DatePicker buttons={false} />
Related article: Configuring buttons
Related sample: DatePicker