Skip to main content
Version: 5.0

Category

This template allows you to customize the Categories lines on the home page of the catalog

class MyCustomCatalogCategoriesPageCategory: CatalogCategoriesPageCategory {

@Composable
override fun Content(params: CatalogCategoriesPageCategoryParameters) {
// Your custom design here
}
}

Params

data class CatalogCategoriesPageCategoryParameters(
val category: Package, // usefull field of this object are id, title and subtitle
val recipesId: List<String>, list of ids in this category
val goToCategoryPage: (category: Package) -> Unit // to navigate to a specific category package
)