1 | import 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 | */
|
8 | export 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;
|
14 | export type NavProps = Parameters<typeof Nav>[0];
|