Skip to content

ProductView

What a section knows about the product it draws: the product, the options chosen, the variant they name, and how to choose another.

product: Product


select: (axis, value) => void

Chooses value on an option axis. Sections that draw the same product see it at once.

string

string

void


selection: Selection


variant: Variant | undefined

The variant the selection names; undefined for a product with no variants or an incomplete selection.