import React from 'react'
import StarIcon from '@mui/icons-material/Star';
import Rating from '@mui/material/Rating';



export default function StyledRating({rate} : any) {
  return (
    <>
       <Rating
        name="customized-color"
        defaultValue={rate}
        precision={0.5}
        icon={<StarIcon style={{ fontSize : 25, color : '#FFED00'  }} />}
        emptyIcon={<StarIcon style={{ fontSize : 25, color : '#494949' }} />}
      />
    </>
  )
}
