react-date-range-headless
Version:
A React component for choosing dates and date ranges. A fork of hypeserver/react-date-range in which the Headless UI Listbox (Select) uses instead html select and options
12 lines (10 loc) • 348 B
JavaScript
import PropTypes from 'prop-types';
export const ariaLabelsShape = PropTypes.shape({
dateInput: PropTypes.objectOf(
PropTypes.shape({ startDate: PropTypes.string, endDate: PropTypes.string })
),
monthPicker: PropTypes.string,
yearPicker: PropTypes.string,
prevButton: PropTypes.string,
nextButton: PropTypes.string,
});