change data doctors and add list comments
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user