🎨 styles: product detail imgs

:%s
This commit is contained in:
lytrankieio123
2021-08-30 18:32:45 +07:00
parent f6504be74f
commit a7d0eb051c
6 changed files with 47 additions and 14 deletions

View File

@@ -0,0 +1,16 @@
import React from 'react'
import s from './ImgWithLink.module.scss'
export interface ImgWithLinkProps {
src: string,
alt?: string,
}
const ImgWithLink = ({ src, alt }: ImgWithLinkProps) => {
return (
<img className={s.imgWithLink} src={src} alt={alt} />
)
}
export default ImgWithLink