mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 02:02:40 +08:00
20 lines
473 B
TypeScript
20 lines
473 B
TypeScript
import * as React from 'react'
|
|
import { useDaysOfWeek } from '../hooks'
|
|
|
|
export const DaysOfWeek = () => {
|
|
const daysOfWeek = useDaysOfWeek()
|
|
|
|
return (
|
|
<div className="grid grid-cols-7 gap-x-0.5 border-b-[0.5px] border-divider-regular p-2">
|
|
{daysOfWeek.map(day => (
|
|
<div
|
|
key={day}
|
|
className="system-2xs-medium flex items-center justify-center text-text-tertiary"
|
|
>
|
|
{day}
|
|
</div>
|
|
))}
|
|
</div>
|
|
)
|
|
}
|