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