mirror of
https://github.com/vercel/commerce.git
synced 2025-07-26 03:31:23 +00:00
40 lines
722 B
TypeScript
40 lines
722 B
TypeScript
export interface ProductProps {
|
|
category?: string
|
|
name: string
|
|
slug: string
|
|
weight: string
|
|
price: string
|
|
oldPrice?: string
|
|
discount?: string
|
|
imageSrc: string
|
|
isNotSell?: boolean
|
|
}
|
|
|
|
export interface FeaturedProductProps {
|
|
title: string
|
|
subTitle: string
|
|
originPrice: string
|
|
price: string
|
|
imageSrc: string
|
|
}
|
|
|
|
export interface RecipeProps {
|
|
title: string
|
|
description: string
|
|
imageSrc: string
|
|
}
|
|
|
|
export interface CheckOutForm {
|
|
name?: string
|
|
email?:string
|
|
address?: string
|
|
city?:string
|
|
state?:string
|
|
code?:number
|
|
phone?:number
|
|
method?:string
|
|
shipping_fee?:number
|
|
}
|
|
|
|
|
|
export type MouseAndTouchEvent = MouseEvent | TouchEvent |