|  |  |  | @ -3,12 +3,12 @@ import { connect } from "react-redux"; | 
			
		
	
		
			
				
					|  |  |  |  | import Checkbox from "../../../components/Checkbox"; | 
			
		
	
		
			
				
					|  |  |  |  | import VerticalExpandableProductFilter from "../../../components/VerticalExpandableProductFilter"; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | export const Sidebar = ({}) => { | 
			
		
	
		
			
				
					|  |  |  |  | export const Sidebar = ({onChange}) => { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   const filteronGrade = [ | 
			
		
	
		
			
				
					|  |  |  |  |     { | 
			
		
	
		
			
				
					|  |  |  |  |       id:0, | 
			
		
	
		
			
				
					|  |  |  |  |       name: "پایه اول", | 
			
		
	
		
			
				
					|  |  |  |  |       name: "اول", | 
			
		
	
		
			
				
					|  |  |  |  |       expaneded: false, | 
			
		
	
		
			
				
					|  |  |  |  |       subList: [{ | 
			
		
	
		
			
				
					|  |  |  |  |         id:1, | 
			
		
	
	
		
			
				
					|  |  |  | @ -17,7 +17,7 @@ export const Sidebar = ({}) => { | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     { | 
			
		
	
		
			
				
					|  |  |  |  |       id:1, | 
			
		
	
		
			
				
					|  |  |  |  |       name: "پایه دوم", | 
			
		
	
		
			
				
					|  |  |  |  |       name: "دوم", | 
			
		
	
		
			
				
					|  |  |  |  |       expaneded: false, | 
			
		
	
		
			
				
					|  |  |  |  |       subList: [{ | 
			
		
	
		
			
				
					|  |  |  |  |         id:1, | 
			
		
	
	
		
			
				
					|  |  |  | @ -26,7 +26,7 @@ export const Sidebar = ({}) => { | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     { | 
			
		
	
		
			
				
					|  |  |  |  |       id:2, | 
			
		
	
		
			
				
					|  |  |  |  |       name: "پایه سوم", | 
			
		
	
		
			
				
					|  |  |  |  |       name: "سوم", | 
			
		
	
		
			
				
					|  |  |  |  |       expaneded: false, | 
			
		
	
		
			
				
					|  |  |  |  |       subList: [], | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
	
		
			
				
					|  |  |  | @ -59,7 +59,7 @@ export const Sidebar = ({}) => { | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |   ] | 
			
		
	
		
			
				
					|  |  |  |  |   return <div className="flex flex-col w-1/4 p-4"> | 
			
		
	
		
			
				
					|  |  |  |  |           <VerticalExpandableProductFilter name="grades" btnTitle='مشاهده همه ی کالاهای آموزشی' list={filteronGrade} title="پایه تحصیلی" searchAble={true}/> | 
			
		
	
		
			
				
					|  |  |  |  |           <VerticalExpandableProductFilter onChange={onChange} name="grade" preName='پایه' btnTitle='مشاهده همه ی کالاهای آموزشی' list={filteronGrade} title="پایه تحصیلی" searchAble={true}/> | 
			
		
	
		
			
				
					|  |  |  |  |           <VerticalExpandableProductFilter name="category"  list={categories} title="دسته بندی" searchAble={false}/> | 
			
		
	
		
			
				
					|  |  |  |  |           
 | 
			
		
	
		
			
				
					|  |  |  |  |   </div>; | 
			
		
	
	
		
			
				
					|  |  |  | 
 |