import React from "react";
import { View, Text, Dimensions, Appearance } from "react-native";
import { Rating } from 'react-native-ratings';
//assets
import tw from "tailwind-rn";
import fontSize from "../../../constants/fontSize";
import Colors from "../../../constants/Colors";
const width = Dimensions.get("window").width;
export default function Rates({ rate }) {
  const ratingCompleted = (rating) => {
    return;
  }
  
  return (
    
      
        
          {rate}
        
         ratingCompleted(rating)}
        />
        
          {`از بین ${1150} نفر`}
        
      
      
        {[
          { name: "بخش ۱", value: 40 },
          { name: "بخش ۱", value: 20 },
          { name: "بخش ۱", value: 70 },
          { name: "بخش ۱", value: 10 },
          { name: "بخش ۱", value: 50 },
        ].map((field, index) => (
          
        ))}
      
    
  );
}
const Progress = ({ data, ...props }) => {
  const colorScheme = React.useMemo(() => {
    return  Appearance.getColorScheme();
  },[props.useless]);
  return (
    
      
        {data.name}
      
      
        
      
      
        {data.value + "%"}
      
    
  );
};