'use strict';

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

/**
 * Render the previous month button element in the calendar.
 *
 * @group Components
 * @see https://daypicker.dev/guides/custom-components
 */
function PreviousMonthButton(props) {
    const { components } = useDayPicker.useDayPicker();
    return React.createElement(components.Button, { ...props });
}

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