'use strict';

var React = require('react');
var useDayPicker = require('../useDayPicker.cjs');

/**
 * Render the dropdown to navigate between years.
 *
 * @group Components
 * @see https://daypicker.dev/guides/custom-components
 */
function YearsDropdown(props) {
    const { components } = useDayPicker.useDayPicker();
    return React.createElement(components.Dropdown, { ...props });
}

exports.YearsDropdown = YearsDropdown;
//# sourceMappingURL=YearsDropdown.cjs.map
