function buildMonths(chunkSize, t) {
	const pickerLocale = getPickerLocale(t);
	const months = new Array(12)
		.fill(0)
		.map((_, i) => i)
		.map(index => ({
			index,
			name: format(addMonths(new Date(0), index), 'MMMM', pickerLocale),
		}));
	return chunk(months, chunkSize);
}
/**
 * Generate th sets of months, each set has the size of provided "chunkSize"
 */
Generate th sets of months, each set has the size of provided "chunkSize"
Generate th sets of months each set has the size of provided " chunkSize "
function buildMonths(chunkSize, t) {
	const pickerLocale = getPickerLocale(t);
	const months = new Array(12)
		.fill(0)
		.map((_, i) => i)
		.map(index => ({
			index,
			name: format(addMonths(new Date(0), index), 'MMMM', pickerLocale),
		}));
	return chunk(months, chunkSize);
}
function buildMonths ( chunkSize , t ) { const pickerLocale = getPickerLocale ( t ) ; const months = new Array ( 12 ) . fill ( 0 ) . map ( ( _ , i ) => i ) . map ( index => ( { index , name : format ( addMonths ( new Date ( 0 ) , index ) , 'MMMM' , pickerLocale ) , } ) ) ; return chunk ( months , chunkSize ) ; }
Generate th sets of months, each set has the size of provided "chunkSize"
Generate th sets of months each set has the size of provided " chunkSize "