mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 19:21:23 +00:00
✨ feat: Delivery Item
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import classNames from "classnames"
|
||||
import React from "react"
|
||||
import s from './ReOrder.module.scss'
|
||||
import Link from 'next/link'
|
||||
|
||||
|
||||
interface ReOrderProps {
|
||||
@@ -8,12 +9,14 @@ interface ReOrderProps {
|
||||
href?: string;
|
||||
}
|
||||
|
||||
const ReOrder = ({ show="" ,href } : ReOrderProps) => {
|
||||
const ReOrder = ({ show="", href="#" } : ReOrderProps) => {
|
||||
return (
|
||||
<div className={classNames(s.reOrder, {
|
||||
[s[show]]: show
|
||||
})}>
|
||||
Re-Order
|
||||
<Link href={href}>
|
||||
<a>Re-Order</a>
|
||||
</Link>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user