Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
type alias CaptionLayout
import { type CaptionLayout } from "https://deno.land/x/netzo@0.3.66/deps/react-day-picker.ts";

The layout of the caption:

  • dropdown: display dropdowns for choosing the month and the year.
  • buttons: display previous month / next month buttons.
  • dropdown-buttons: display both month / year dropdowns and previous month / next month buttons.
definition: "dropdown" | "buttons" | "dropdown-buttons"