UNPKG

541 BTypeScriptView Raw
1import React from "react";
2/**
3 * Render the chevron icon used in the navigation buttons and dropdowns.
4 *
5 * @group Components
6 * @see https://daypicker.dev/guides/custom-components
7 */
8export declare function Chevron(props: {
9 className?: string;
10 /**
11 * The size of the chevron.
12 *
13 * @defaultValue 24
14 */
15 size?: number;
16 /** Set to `true` to disable the chevron. */
17 disabled?: boolean;
18 /** The orientation of the chevron. */
19 orientation?: "up" | "down" | "left" | "right";
20}): React.JSX.Element;