react-dates
Version:
A responsive and accessible date range picker component built with React
50 lines (42 loc) • 918 B
JavaScript
const closeDatePicker = 'Close';
const focusStartDate = 'Focus on start date';
const clearDate = 'Clear Date';
const clearDates = 'Clear Dates';
const jumpToPrevMonth = 'Jump to previous month';
const jumpToNextMonth = 'Jump to next month';
export default {
closeDatePicker,
focusStartDate,
clearDate,
clearDates,
jumpToPrevMonth,
jumpToNextMonth,
};
export const DateRangePickerPhrases = {
closeDatePicker,
clearDates,
focusStartDate,
jumpToPrevMonth,
jumpToNextMonth,
};
export const DateRangePickerInputPhrases = {
focusStartDate,
clearDates,
};
export const SingleDatePickerPhrases = {
closeDatePicker,
clearDate,
jumpToPrevMonth,
jumpToNextMonth,
};
export const SingleDatePickerInputPhrases = {
clearDate,
};
export const DayPickerPhrases = {
jumpToPrevMonth,
jumpToNextMonth,
};
export const DayPickerNavigationPhrases = {
jumpToPrevMonth,
jumpToNextMonth,
};