You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
523 B

let weekList = ["شنبه","یکشنبه","دوشنبه","سهشنبه","چهارشنبه","پنجشنبه","جمعه"]
const Week=()=>{
return (
<div className="Week w-full h-8 flex items-center justify-between flex-row-reverse">
{weekList.map((item, index) => (
<div
key={index}
className="w-[13%] text-center text-xs"
style={index === 6 ? { color: "#C94E2A" } : null}
>
{item}
</div>
))}
</div>
);
}
export default Week;