admin/components/icons/TicketDiscountTwoToneIcon.tsx
alisaza e1eaf5eff5 feat: initial ghabilee-admin backoffice app
Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js
app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
2026-09-05 13:12:59 +03:30

57 lines
1.6 KiB
TypeScript

import { cn } from '@/lib/cn'
interface TicketDiscountTwoToneIconProps {
className?: string
/** رنگ لایه اصلی — مثلاً `text-gray-800` */
primaryClassName?: string
/** رنگ لایه ثانویه — مثلاً `text-primary`؛ پیش‌فرض opacity-40 مثل Iconsax */
secondaryClassName?: string
}
export default function TicketDiscountTwoToneIcon({
className = 'size-6',
primaryClassName,
secondaryClassName,
}: TicketDiscountTwoToneIconProps) {
return (
<svg
className={className}
fill="none"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
className={primaryClassName}
d="M19.5 12.5C19.5 11.12 20.62 10 22 10V9C22 5 21 4 17 4H7C3 4 2 5 2 9V9.5C3.38 9.5 4.5 10.62 4.5 12C4.5 13.38 3.38 14.5 2 14.5V15C2 19 3 20 7 20H17C21 20 22 19 22 15C20.62 15 19.5 13.88 19.5 12.5Z"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
/>
<g className={cn('opacity-40', secondaryClassName)}>
<path
d="M9 14.75L15 8.75"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
/>
<path
d="M14.9945 14.75H15.0035"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<path
d="M8.99451 9.25H9.00349"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</g>
</svg>
)
}