print base

This commit is contained in:
hamid zarghami
2026-02-02 09:09:36 +03:30
parent 3d53661c9a
commit 6383cbb975
6 changed files with 64 additions and 1 deletions
+35
View File
@@ -0,0 +1,35 @@
import { type FC } from 'react'
import { useGetSections } from './hooks/usePrintData'
import { Link } from 'react-router-dom'
import { Paths } from '@/config/Paths'
import Button from '@/components/Button'
import { AddSquare } from 'iconsax-react'
const SectionList: FC = () => {
const { data } = useGetSections()
return (
<div className='mt-5'>
<div className='flex justify-between items-center'>
<h1 className='text-lg font-light'>محصولات</h1>
<Link
to={Paths.print.list}
>
<Button
className='w-fit px-6'
>
<div className='flex gap-1.5'>
<AddSquare size={18} color='black' />
<div className='text-[13px] font-light'>محصول جدید</div>
</div>
</Button>
</Link>
</div>
</div>
)
}
export default SectionList