arrow right changes to arrow left in layer panel

This commit is contained in:
hamid zarghami
2026-04-30 09:16:13 +03:30
parent 0694f8275e
commit 8c38d340a4
+2 -2
View File
@@ -1,4 +1,4 @@
import { Layer, ArrowRight2, Book1 } from 'iconsax-react' import { Layer, Book1, ArrowLeft2 } from 'iconsax-react'
import { clx } from '@/helpers/utils' import { clx } from '@/helpers/utils'
import { useState } from 'react' import { useState } from 'react'
import PagesPanel from './PagesPanel' import PagesPanel from './PagesPanel'
@@ -77,7 +77,7 @@ const LayersPanel = ({ isOpen, setIsOpen }: LayersPanelProps) => {
onClick={() => setIsOpen(false)} onClick={() => setIsOpen(false)}
className="w-10 h-10 flex items-center justify-center rounded-lg hover:bg-gray-100 transition-colors" className="w-10 h-10 flex items-center justify-center rounded-lg hover:bg-gray-100 transition-colors"
> >
<ArrowRight2 size={20} color="black" /> <ArrowLeft2 size={20} color="black" />
</button> </button>
<h2 className="text-lg font-medium"> <h2 className="text-lg font-medium">
{activeTab === 'pages' ? 'صفحات' : 'لایه ها'} {activeTab === 'pages' ? 'صفحات' : 'لایه ها'}