quik acess
This commit is contained in:
@@ -7,7 +7,8 @@ import { useTranslation } from 'react-i18next'
|
||||
import { ItemServiceType } from '../pages/service/types/ServiecTypes'
|
||||
|
||||
type Props = {
|
||||
item: ItemServiceType
|
||||
item: ItemServiceType,
|
||||
className?: string,
|
||||
}
|
||||
|
||||
const ServiceItem: FC<Props> = (props: Props) => {
|
||||
@@ -16,7 +17,7 @@ const ServiceItem: FC<Props> = (props: Props) => {
|
||||
const { item } = props
|
||||
|
||||
return (
|
||||
<div className='flex-1 min-w-[45%] xl:min-w-[30%] bg-white rounded-3xl xl:p-6 p-4'>
|
||||
<div className={`flex-1 min-w-[45%] xl:min-w-[30%] bg-white rounded-3xl xl:p-6 p-4 ${props.className}`}>
|
||||
<div className='flex gap-2 items-center'>
|
||||
<div className='xl:size-[50px] size-10 overflow-hidden rounded-xl'>
|
||||
<img src={item.icon} alt={item.name} className='w-full h-full' />
|
||||
|
||||
Reference in New Issue
Block a user