Added parser function

This commit is contained in:
VityaSchel
2023-10-01 20:18:37 +04:00
parent 0bb5f022e9
commit b6ea0217c3
19 changed files with 1664 additions and 153 deletions

View File

@@ -0,0 +1,15 @@
import type { Day as DayType } from '@/shared/model/day'
import { Day } from '@/widgets/schedule/day'
export function Schedule({ days }: {
days: DayType[]
}) {
return (
<div>
{days.map((day, i) => (
<Day day={day} key={i} />
))}
</div>
)
}