Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.add('Scrollable Calendar - with focused date', () => (
))
.add('Scrollable Calendar in a tall container', () => (
.add("Scrollable Calendar - Don't mark today", () => (
));
const getMonthsArray = (startDate, count) => {
const months = [];
for (let i = 0; i < count + 1; i += 1) {
months.push(DateUtils.addMonths(startDate, i));
}
return months;
};
export default getMonthsArray;
],
},
{
id: 'localised',
title: 'Localised scrollable calendar',
examples: [
,
],
},
{
id: 'grid',
title: 'Scrollable calendar grid',
examples: [