Skip to main content

Function: Chevron()

Chevron(props): Element

Render the chevron icon used in the navigation buttons and dropdowns.

Parameters

ParameterTypeDescription
props{ className: string; disabled: boolean; orientation: "up" | "down" | "left" | "right"; size: number; }-
props.className?string-
props.disabled?booleanSet to true to disable the chevron.
props.orientation?"up" | "down" | "left" | "right"The orientation of the chevron.
props.size?numberThe size of the chevron.

Returns

Element

See

https://daypicker.dev/guides/custom-components

Defined in

src/components/Chevron.tsx:9