UNPKG

516 BTypeScriptView Raw
1import React, { MouseEventHandler } from "react";
2/**
3 * Render the toolbar with the navigation button.
4 *
5 * @group Components
6 * @see https://daypicker.dev/guides/custom-components
7 */
8export declare function Nav(props: {
9 onPreviousClick?: MouseEventHandler<HTMLButtonElement>;
10 onNextClick?: MouseEventHandler<HTMLButtonElement>;
11 previousMonth?: Date | undefined;
12 nextMonth?: Date | undefined;
13} & JSX.IntrinsicElements["nav"]): React.JSX.Element;
14export type NavProps = Parameters<typeof Nav>[0];