${item.title}
${item.sections.map(
- (section) => html`
-
-
${section.title}
- ${CXLLightCardSlider(CXLLightCardSlider.args)}
-
+ (itemSection) => html`
+
+
${itemSection.title}
+ ${CXLLightCardSlider(CXLLightCardSlider.args)}
+
`
)}
@@ -51,10 +52,9 @@ export const CXLVaadinAccordionThemeCategory = () => html`
`;
-
Object.assign(CXLLightCardSlider, {
args: {
numberOfCards: 8,
- theme: 'cxl-category-accordion'
+ theme: 'cxl-category-accordion',
},
});