+
+ {items.map((item, index) => {
+ const { title, text } = item
+
+ return (
+
+ handleCardClick(index)}
+ disableRipple
+ className={`${css.card} ${index === selectedIndex ? css.selected : ''}`}
+ >
+ {title}
+
+ {text && (
+
+ {text}
+
+ )}
+
+
+ )
+ })}
+
+
+