ShoppableImage
fun <T> ShoppableImage(imageParams: ImageParams, products: List<ShoppableImageItem<T>>, modifier: Modifier = Modifier, selectedProduct: T? = null, dotsVisibleFromStart: Boolean = true, shopAllButtonParams: ShopAllButtonParams? = null, onSelected: (T?) -> Unit)
Shoppable image is image that identifies and links to IKEA products pictured within.
Parameters
imageParams
Used to handle the background image
products
Products to be shown. A combination Tag content and Dot position
modifier
The modifier
selectedProduct
Generic identifier to a selected product.
dotsVisibleFromStart
Show the tots from start
shopAllButtonParams
Params for the 'Shop all' button
onSelected
Callback for click on dots.