HabitatMap/AirCasting

View on GitHub
app/javascript/react/components/molecules/Calendar/atoms/DayNamesHeader/DayNamesHeader.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from "react";

import * as S from "./DayNamesHeader.style";

const DayNamesHeader = ({ dayNamesHeader }: { dayNamesHeader: string[] }) => {
  return (
    <S.DayNamesHeaderContainer>
      {dayNamesHeader.map((dayName) => (
        <S.DayName key={dayName}>{dayName}</S.DayName>
      ))}
    </S.DayNamesHeaderContainer>
  );
};

export { DayNamesHeader };