change data doctors and add list comments

This commit is contained in:
Ehsan
2024-07-07 22:43:39 +03:30
parent cb214e67f1
commit 0bf9dc5430
3 changed files with 20411 additions and 55 deletions
@@ -1,7 +1,7 @@
import { Button } from '@mui/material'
import React from 'react'
import Chart from './Chart'
function Comments() {
function Comments({ doctor }) {
return (
<div className='mt-4'>
<div>
@@ -11,9 +11,10 @@ function Comments() {
<p className='text-[#616161] text-[16px] font-normal'>شما هم نظر خود را در مورد این پزشک به اشتراک بگذارید:</p>
<Button
variant='outlined'
className='!py-2.5 !px-9 !mr-4'
className='!py-2.5 !px-9 !mr-4 !rounded'
>ثبت نظر</Button>
</div>
<Chart doctor={doctor} />
</div>
)
}