mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:09:46 +00:00
Верстка слайдера в проектах
This commit is contained in:
1 parent
4591a8b77c
commit
7bcda920ee
3 files changed
+47
-32
No files matched your search
@@ -31,7 +31,7 @@ export default function WpPost({
|
||||
if (el.type === "mediablock") {
|
||||
return <MediaBlock key={index} images={el.value} />;
|
||||
} else if (el.type === "slider") {
|
||||
return <Slider images={el.value} />
|
||||
return <Slider images={el.value} customPerSlide={4} />
|
||||
}
|
||||
return <div key={index}>{el.element}</div>;
|
||||
})}
|
||||
|
||||
Reference in new issue
Block a user