import React__default from 'react';
import { DaysOfWeek, DayName } from './styles.js';
import { getDayNames } from './utils.js';

function DayNameRow(props) {
    const { startingDay = 'sunday', narrow = false, scrollBarWidth = 0 } = props;
    return (React__default.createElement(DaysOfWeek, { narrow: narrow, scrollBarWidth: scrollBarWidth }, getDayNames(props.locale, startingDay).map((dayName, index) => (React__default.createElement(DayName, { key: `${dayName}-${index}` }, dayName)))));
}

export { DayNameRow };
