mirror of
https://github.com/vercel/commerce.git
synced 2025-07-04 12:11:22 +00:00
26 lines
573 B
TypeScript
26 lines
573 B
TypeScript
import Vector from 'src/components/icons/Vector'
|
|
import s from './ViewAllItem.module.scss'
|
|
import Link from 'next/link'
|
|
|
|
interface Props {
|
|
className?: string
|
|
children?: any
|
|
link?: string
|
|
}
|
|
|
|
const ViewAllItem = ({ link }: Props) => {
|
|
return(
|
|
<div className={s.viewAll}>
|
|
<Link href={"/all"}>
|
|
<a className={s.conTent}>
|
|
View All
|
|
</a>
|
|
</Link>
|
|
<div className={s.vecTor}>
|
|
<Vector />
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default ViewAllItem |