ProductCardProps
Defined in: react/src/Cards.tsx:64
Properties
Section titled “Properties”className?
Section titled “className?”
optionalclassName?:string
Defined in: react/src/Cards.tsx:76
contentSource?
Section titled “contentSource?”
optionalcontentSource?:"generated"|"cached"|"static"
Defined in: react/src/Cards.tsx:73
Copy provenance. The product’s own name and price are never generated.
optionalhref?:string
Defined in: react/src/Cards.tsx:75
product
Section titled “product”product:
object
Defined in: react/src/Cards.tsx:65
description?
Section titled “description?”
optionaldescription?:string
id:
string
imageUrl?
Section titled “imageUrl?”
optionalimageUrl?:string
name:
string
price?
Section titled “price?”
optionalprice?:string|number
style?
Section titled “style?”
optionalstyle?:CSSProperties
Defined in: react/src/Cards.tsx:77
theme?
Section titled “theme?”
optionaltheme?: {colors:Record<string,string>;sources:Record<string,string>; } |null
Defined in: react/src/Cards.tsx:74